diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-09-08 16:07:46 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-09-08 16:07:46 +0000 |
commit | 25d650345cf4e8ba795eef7b944373967aeb95c8 (patch) | |
tree | 3e8429016678c84eac5d2aa9a35a586337507651 /ld/emultempl | |
parent | 3b8a7fc08784bcb47249887e1140994134597604 (diff) | |
download | gdb-25d650345cf4e8ba795eef7b944373967aeb95c8.zip gdb-25d650345cf4e8ba795eef7b944373967aeb95c8.tar.gz gdb-25d650345cf4e8ba795eef7b944373967aeb95c8.tar.bz2 |
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.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/beos.em | 2 | ||||
-rw-r--r-- | ld/emultempl/sunos.em | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em index ac27c5a..fac0c89 100644 --- a/ld/emultempl/beos.em +++ b/ld/emultempl/beos.em @@ -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\$)". diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index 6367c3c..bbd6075 100644 --- a/ld/emultempl/sunos.em +++ b/ld/emultempl/sunos.em @@ -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); } |