From: Geoffrey Keating Date: Tue, 28 Sep 1999 04:16:51 +0000 (+0000) Subject: * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13d92f2c5b7ef187dda2518b459751f146128e99;p=binutils-gdb.git * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections in .sdata too. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 81b0062a33b..64cbbef00da 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +1999-09-28 Geoffrey Keating + + * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections + in .sdata too. + 1999-09-26 Nick Clifton * scripttempl/elf.sc (.bss): Accept sections named .bss.* diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index c59c58280c1..57a825be257 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 = .);}