2008-09-08 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 8 Sep 2008 16:07:46 +0000 (16:07 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 8 Sep 2008 16:07:46 +0000 (16:07 +0000)
2008-09-07  Alan Modra  <amodra@bigpond.net.au>

* emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
* emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.

ld/ChangeLog
ld/emultempl/beos.em
ld/emultempl/sunos.em

index df1510b83f433e58cc70a3d4819ba1a83f701621..e9ee029099cdc1d0b314527bdeac6e929915c04e 100644 (file)
@@ -1,3 +1,10 @@
+2008-09-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       2008-09-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
+       * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.
+
 2008-09-08  Tristan Gingold  <gingold@adacore.com>
 
        * NEWS: Add a marker for the 2.19 features.
index ac27c5a8974dd093b66561c93643cb96c15f55ba..fac0c893c6793108fbe2944d4ca934f05859c8e4 100644 (file)
@@ -697,7 +697,7 @@ gld${EMULATION_NAME}_place_orphan (asection *s)
   output_secname = xstrdup (secname);
   ps = strchr (output_secname + 1, '\$');
   *ps = 0;
-  os = lang_output_section_statement_lookup (output_secname);
+  os = lang_output_section_statement_lookup (output_secname, 0, TRUE);
 
   /* Find the '\$' wild statement for this section.  We currently require the
      linker script to explicitly mention "*(.foo\$)".
index 6367c3c80344e0128bf8ecb5dfb49be770c7b48f..bbd60751205a35888c894bc9a8e1b907bf4daf3c 100644 (file)
@@ -698,7 +698,7 @@ gld${EMULATION_NAME}_before_allocation (void)
 
       /* Set the .text section to start at 0x20, not 0x2020.  FIXME:
         This is too magical.  */
-      os = lang_output_section_statement_lookup (".text");
+      os = lang_output_section_statement_lookup (".text", 0, TRUE);
       if (os->addr_tree == NULL)
        os->addr_tree = exp_intop (0x20);
     }