diff options
author | Alan Modra <amodra@gmail.com> | 2007-07-10 04:53:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-07-10 04:53:13 +0000 |
commit | 1c68693b0ced40f9089d426e59e03cab9a0d1865 (patch) | |
tree | a47b3a1197bb82158cab0b1169a7baadca6f97c2 /ld/scripttempl/mep.sc | |
parent | 1489a3a0d7ff90c78a7ad3309899d0fd482672f9 (diff) | |
download | gdb-1c68693b0ced40f9089d426e59e03cab9a0d1865.zip gdb-1c68693b0ced40f9089d426e59e03cab9a0d1865.tar.gz gdb-1c68693b0ced40f9089d426e59e03cab9a0d1865.tar.bz2 |
* scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
.gnu.debuglink.
* scripttempl/armbpabi.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/mep.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/mep.sc')
-rw-r--r-- | ld/scripttempl/mep.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/mep.sc b/ld/scripttempl/mep.sc index 0d459c6..20a6938 100644 --- a/ld/scripttempl/mep.sc +++ b/ld/scripttempl/mep.sc @@ -114,7 +114,7 @@ fi DYNAMIC=".dynamic ${RELOCATING-0} : { *(.dynamic) }" RODATA=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }" DATARELRO=".data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) }" -STACKNOTE="/DISCARD/ : { *(.note.GNU-stack) }" +DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) }" if test -z "${NO_SMALL_DATA}"; then SBSS=".sbss ${RELOCATING-0} : { @@ -441,6 +441,6 @@ cat <<EOF ${STACK_ADDR+${STACK}} ${OTHER_SECTIONS} ${RELOCATING+${OTHER_END_SYMBOLS}} - ${RELOCATING+${STACKNOTE}} + ${RELOCATING+${DISCARDED}} } EOF |