X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Femultempl%2Fpe.em;h=ddee01125bbe4feaa28a48ba9545ba910eb54b33;hb=92b93329b58c744ea269b50f6278ed99416941a9;hp=9dd070a1f5b9d187061fb4a77e55d91138aab3d8;hpb=6b33789f617a22563c87282673aa23d9b8b4a3ca;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 9dd070a1f5..ddee01125b 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -8,7 +8,7 @@ else fi rm -f e${EMULATION_NAME}.c (echo;echo;echo;echo;echo)>e${EMULATION_NAME}.c # there, now line numbers match ;-) -cat >>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <flags & SEC_CODE) && sec->reloc_count) stub_sec = sec; } - + if (is_imp && stub_sec) { long symsize; @@ -1780,7 +1780,7 @@ gld_${EMULATION_NAME}_open_dynamic_archive For backwards compatibility, libfoo.a needs to precede libfoo.dll and foo.dll in the search. */ { "lib%s.a", FALSE }, - /* The 'native' spelling of an import lib name is "foo.lib". */ + /* The 'native' spelling of an import lib name is "foo.lib". */ { "%s.lib", FALSE }, #ifdef DLL_SUPPORT /* Try "foo.dll" (preferred dll name, if specified). */ @@ -1837,7 +1837,7 @@ gld_${EMULATION_NAME}_open_dynamic_archive for (i = 0; libname_fmt[i].format; i++) { -#ifdef DLL_SUPPORT +#ifdef DLL_SUPPORT if (libname_fmt[i].use_prefix) { if (!pe_dll_search_prefix) @@ -1877,7 +1877,7 @@ EOF # sed commands to quote an ld script as a C string. sc="-f stringify.sed" -cat >>e${EMULATION_NAME}.c <> e${EMULATION_NAME}.c sed $sc ldscripts/${EMULATION_NAME}.x >> e${EMULATION_NAME}.c echo '; }' >> e${EMULATION_NAME}.c -cat >>e${EMULATION_NAME}.c <