diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/pe.em | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index fdb319a..d5a1288 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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> * ldlang.c (process_insert_statements): ASSERT that output section diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 858f6da..79f383a 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -1061,11 +1061,11 @@ gld_${EMULATION_NAME}_after_open (void) || defined (TARGET_IS_arm_wince_pe) if (!link_info.relocatable) pe_dll_build_sections (link_info.output_bfd, &link_info); - else - pe_exe_build_sections (link_info.output_bfd, &link_info); #else if (link_info.shared) pe_dll_build_sections (link_info.output_bfd, &link_info); + else + pe_exe_build_sections (link_info.output_bfd, &link_info); #endif #endif /* DLL_SUPPORT */ |