* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections

in .sdata too.
This commit is contained in:
Geoffrey Keating 1999-09-28 04:16:51 +00:00
parent fba2b7f93e
commit 13d92f2c5b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1999-09-28 Geoffrey Keating <geoffk@cygnus.com>
* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
in .sdata too.
1999-09-26 Nick Clifton <nickc@cygnus.com>
* scripttempl/elf.sc (.bss): Accept sections named .bss.*

View File

@ -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 = .);}