From 1c68693b0ced40f9089d426e59e03cab9a0d1865 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 10 Jul 2007 04:53:13 +0000 Subject: [PATCH] * 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. --- ld/ChangeLog | 9 +++++++++ ld/scripttempl/armbpabi.sc | 4 ++-- ld/scripttempl/elf.sc | 4 ++-- ld/scripttempl/elf32sh-symbian.sc | 4 ++-- ld/scripttempl/elfxtensa.sc | 4 ++-- ld/scripttempl/mep.sc | 4 ++-- 6 files changed, 19 insertions(+), 10 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 180c9240aea..96158f67f68 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,12 @@ +2007-07-10 Alan Modra + + * 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. + 2007-07-09 Roland McGrath * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id. diff --git a/ld/scripttempl/armbpabi.sc b/ld/scripttempl/armbpabi.sc index 28bad1c4623..83ca358d113 100644 --- a/ld/scripttempl/armbpabi.sc +++ b/ld/scripttempl/armbpabi.sc @@ -30,7 +30,7 @@ INTERP=".interp 0 : { *(.interp) }" PLT=".plt ${RELOCATING-0} : { *(.plt) }" 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} : { @@ -360,7 +360,7 @@ cat <