diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-09-24 06:23:15 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-09-24 06:23:15 +0000 |
commit | 779dafb461abac79fc429ac948d590b290e10ce9 (patch) | |
tree | 155f0b55de5dd645c9d3f2c5c153d44b0b99115a /ld/scripttempl | |
parent | 86034c36bdfb5c7dee8cd88c3375062e172e4a38 (diff) | |
download | gdb-779dafb461abac79fc429ac948d590b290e10ce9.zip gdb-779dafb461abac79fc429ac948d590b290e10ce9.tar.gz gdb-779dafb461abac79fc429ac948d590b290e10ce9.tar.bz2 |
2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3249
* scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
and .gnu.linkonce.wi.* sections with .data and .debug_info for
relocatable link.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/elf.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index a54ff58..738f21f 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -420,7 +420,7 @@ cat <<EOF { ${RELOCATING+${DATA_START_SYMBOLS}} *(.data${RELOCATING+ .data.* .gnu.linkonce.d.*}) - KEEP (*(.gnu.linkonce.d.*personality*)) + ${RELOCATING+KEEP (*(.gnu.linkonce.d.*personality*))} ${CONSTRUCTING+SORT(CONSTRUCTORS)} } .data1 ${RELOCATING-0} : { *(.data1) } @@ -486,7 +486,7 @@ cat <<EOF .debug_pubnames 0 : { *(.debug_pubnames) } /* DWARF 2 */ - .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_info 0 : { *(.debug_info${RELOCATING+ .gnu.linkonce.wi.*}) } .debug_abbrev 0 : { *(.debug_abbrev) } .debug_line 0 : { *(.debug_line) } .debug_frame 0 : { *(.debug_frame) } |