From: Nick Clifton Date: Sun, 26 Sep 1999 09:37:45 +0000 (+0000) Subject: Merge sections named .bss.* into .bss section. Similarly for .sbss. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ab79ba3a1c51a5ba378f7d3b842ce7d31e34c4f7;p=pf3gnuchains%2Fpf3gnuchains3x.git Merge sections named .bss.* into .bss section. Similarly for .sbss. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 00edf7022f..81b0062a33 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +1999-09-26 Nick Clifton + + * scripttempl/elf.sc (.bss): Accept sections named .bss.* + (.sbss): Accept sections names .sbss.* + 1999-09-22 Nick Clifton * Makefile.am: Add earm_epoc_pe.c build target. diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index 57f60a928c..c59c58280c 100644 --- a/ld/scripttempl/elf.sc +++ b/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