aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>1999-09-28 04:16:51 +0000
committerGeoffrey Keating <geoffk@geoffk.org>1999-09-28 04:16:51 +0000
commit13d92f2c5b7ef187dda2518b459751f146128e99 (patch)
tree2d56a9737e1f32251f2bc7e3b6f97eb113f9cc7f /ld/scripttempl
parentfba2b7f93ec2bd58fc9fe390d112575b69516347 (diff)
downloadgdb-13d92f2c5b7ef187dda2518b459751f146128e99.zip
gdb-13d92f2c5b7ef187dda2518b459751f146128e99.tar.gz
gdb-13d92f2c5b7ef187dda2518b459751f146128e99.tar.bz2
* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
in .sdata too.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elf.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index c59c582..57a825b 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -232,7 +232,7 @@ SECTIONS
/* We want the small data sections together, so single-instruction offsets
can access them all, and initialized data all before uninitialized, so
we can shorten the on-disk segment size. */
- .sdata ${RELOCATING-0} : { *(.sdata) *(.sdata.*) }
+ .sdata ${RELOCATING-0} : { *(.sdata) *(.sdata.*) *(.gnu.linkonce.s.*) }
${RELOCATING+${OTHER_GOT_SECTIONS}}
${RELOCATING+_edata = .;}
${RELOCATING+PROVIDE (edata = .);}