* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit

inadvertent .reloc sections caused by refactoring accident.
This commit is contained in:
Dave Korn
2009-02-16 10:42:12 +00:00
parent 7f1003b875
commit 1491f1f0d1
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
inadvertent .reloc sections caused by refactoring accident.
2009-02-16 Alan Modra <amodra@bigpond.net.au> 2009-02-16 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (process_insert_statements): ASSERT that output section * ldlang.c (process_insert_statements): ASSERT that output section

View File

@ -1061,11 +1061,11 @@ gld_${EMULATION_NAME}_after_open (void)
|| defined (TARGET_IS_arm_wince_pe) || defined (TARGET_IS_arm_wince_pe)
if (!link_info.relocatable) if (!link_info.relocatable)
pe_dll_build_sections (link_info.output_bfd, &link_info); pe_dll_build_sections (link_info.output_bfd, &link_info);
else
pe_exe_build_sections (link_info.output_bfd, &link_info);
#else #else
if (link_info.shared) if (link_info.shared)
pe_dll_build_sections (link_info.output_bfd, &link_info); pe_dll_build_sections (link_info.output_bfd, &link_info);
else
pe_exe_build_sections (link_info.output_bfd, &link_info);
#endif #endif
#endif /* DLL_SUPPORT */ #endif /* DLL_SUPPORT */