summaryrefslogtreecommitdiff
path: root/ld/emultempl/pe.em
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-02-16 10:42:12 +0000
committerDave Korn <dave.korn@artimi.com>2009-02-16 10:42:12 +0000
commit1491f1f0d14d80a1bcd93d228c5b506811f7ae8c (patch)
treedc743567597a951a718adbfb937556283ee2d954 /ld/emultempl/pe.em
parent7f1003b875e9c9540bfce968b2ad29e9666bae1f (diff)
downloadbinutils-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.em4
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 */