OSDN Git Service

Merge sections named .bss.* into .bss section. Similarly for .sbss.
authorNick Clifton <nickc@redhat.com>
Sun, 26 Sep 1999 09:37:45 +0000 (09:37 +0000)
committerNick Clifton <nickc@redhat.com>
Sun, 26 Sep 1999 09:37:45 +0000 (09:37 +0000)
ld/ChangeLog
ld/scripttempl/elf.sc

index 00edf70..81b0062 100644 (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. 
index 57f60a9..c59c582 100644 (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