aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/beos.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/beos.em')
-rw-r--r--ld/emultempl/beos.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em
index 4ad033b..c2a63f1 100644
--- a/ld/emultempl/beos.em
+++ b/ld/emultempl/beos.em
@@ -76,7 +76,6 @@ extern const char *output_filename;
static void
gld_${EMULATION_NAME}_before_parse()
{
- output_filename = "a.exe";
const bfd_arch_info_type *arch = bfd_scan_arch ("${OUTPUT_ARCH}");
if (arch)
{
@@ -86,6 +85,7 @@ gld_${EMULATION_NAME}_before_parse()
}
else
ldfile_output_architecture = bfd_arch_${ARCH};
+ output_filename = "a.exe";
}
/* PE format extra command line options. */