2001-05-25 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 25 May 2001 22:48:14 +0000 (22:48 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 25 May 2001 22:48:14 +0000 (22:48 +0000)
* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
setting of output_filename after bfd_scan_arch.
* emultempl/pe.em: Likewise.

ld/ChangeLog
ld/emultempl/beos.em
ld/emultempl/pe.em

index ab8d25679b66a9ab94559c280dfdebefcb36e4bd..15c0d744b77beb62148c869d59c30b95e0d540fd 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-25  H.J. Lu  <hjl@gnu.org>
+
+       * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
+       setting of output_filename after bfd_scan_arch.
+       * emultempl/pe.em: Likewise.
+
 2001-05-25  H.J. Lu  <hjl@gnu.org>
 
        * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
index 4ad033bf4ec9cdd8babc8f5c9fa1cb1c350844aa..c2a63f17ffa83b755a586612e61183648db0efaa 100644 (file)
@@ -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";
 }
 \f
 /* PE format extra command line options.  */
index f8dee33aff7db0670884d2374a3edf23fbf3ceba..69bea209f9ca6cb32249475866a972c0c70543fb 100644 (file)
@@ -135,7 +135,6 @@ extern const char *output_filename;
 static void
 gld_${EMULATION_NAME}_before_parse()
 {
-  output_filename = "${EXECUTABLE_NAME:-a.exe}";
   const bfd_arch_info_type *arch = bfd_scan_arch ("${OUTPUT_ARCH}");
   if (arch)
     {
@@ -145,6 +144,7 @@ gld_${EMULATION_NAME}_before_parse()
     }
   else
     ldfile_output_architecture = bfd_arch_${ARCH};
+  output_filename = "${EXECUTABLE_NAME:-a.exe}";
 #ifdef DLL_SUPPORT
   config.has_shared = 1;
 
This page took 0.02978 seconds and 4 git commands to generate.