diff options
author | Dave Korn <dave.korn@artimi.com> | 2009-02-16 10:42:12 +0000 |
---|---|---|
committer | Dave Korn <dave.korn@artimi.com> | 2009-02-16 10:42:12 +0000 |
commit | 1491f1f0d14d80a1bcd93d228c5b506811f7ae8c (patch) | |
tree | dc743567597a951a718adbfb937556283ee2d954 /ld/emultempl/pe.em | |
parent | 7f1003b875e9c9540bfce968b2ad29e9666bae1f (diff) | |
download | binutils-gdb-1491f1f0d14d80a1bcd93d228c5b506811f7ae8c.tar.gz |
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
inadvertent .reloc sections caused by refactoring accident.
Diffstat (limited to 'ld/emultempl/pe.em')
-rw-r--r-- | ld/emultempl/pe.em | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 858f6da76d1..79f383a9b46 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 */ |