Merge sections named .bss.* into .bss section. Similarly for .sbss.

This commit is contained in:
Nick Clifton 1999-09-26 09:37:45 +00:00
parent 27ac83bfca
commit 3c9cf3a394
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1999-09-26 Nick Clifton <nickc@cygnus.com>
* scripttempl/elf.sc (.bss): Accept sections named .bss.*
(.sbss): Accept sections names .sbss.*
1999-09-22 Nick Clifton <nickc@cygnus.com>
* Makefile.am: Add earm_epoc_pe.c build target.

View File

@ -238,11 +238,16 @@ SECTIONS
${RELOCATING+PROVIDE (edata = .);}
${RELOCATING+__bss_start = .;}
${RELOCATING+${OTHER_BSS_SYMBOLS}}
.sbss ${RELOCATING-0} : { *(.sbss) *(.scommon) }
.sbss ${RELOCATING-0} :
{
*(.sbss) *(.scommon)
${RELOCATING+*(.sbss.*)}
}
.bss ${RELOCATING-0} :
{
*(.dynbss)
*(.bss)
${RELOCATING+*(.bss.*)}
*(COMMON)
/* Align here to ensure that the .bss section occupies space up to
_end. Align after .bss to ensure correct alignment even if the