Browse Source

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

gdb-premipsmulti-2000-06-06-branch
Nick Clifton 27 years ago
parent
commit
3c9cf3a394
  1. 5
      ld/ChangeLog
  2. 7
      ld/scripttempl/elf.sc

5
ld/ChangeLog

@ -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.

7
ld/scripttempl/elf.sc

@ -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

Loading…
Cancel
Save