diff options
author | Nick Clifton <nickc@redhat.com> | 1999-09-26 09:37:45 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-09-26 09:37:45 +0000 |
commit | 3c9cf3a394665b737edca2963584e170e2cc8b20 (patch) | |
tree | 9ef97039240add727cc27c62ea05d635f5564fa0 /ld/scripttempl | |
parent | 27ac83bfcace91578a4fa06863bb8a62bc11c2cb (diff) | |
download | gdb-3c9cf3a394665b737edca2963584e170e2cc8b20.zip gdb-3c9cf3a394665b737edca2963584e170e2cc8b20.tar.gz gdb-3c9cf3a394665b737edca2963584e170e2cc8b20.tar.bz2 |
Merge sections named .bss.* into .bss section. Similarly for .sbss.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/elf.sc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index 57f60a9..c59c582 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 |