Locate __bss_start at the real start of bss.
authorMichael Meissner <gnu@the-meissners.org>
Thu, 21 Sep 1995 21:57:32 +0000 (21:57 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Thu, 21 Sep 1995 21:57:32 +0000 (21:57 +0000)
ld/ChangeLog
ld/scripttempl/elfppc.sc

index 123eb6d25b6ee906def840ec48f667ef74458718..1959d5a93ecc57fdfe893dbf82d425583a0a0f85 100644 (file)
@@ -1,3 +1,14 @@
+Thu Sep 21 17:55:24 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * scripttempl/elfppc.sc: Correctly locate __bss_start at the
+       beginning of the .bss area, not at the end of data.  Add
+       __sbss_{start,end} symbols.
+
+Wed Sep 20 12:29:36 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name).
+       (CXX_FOR_TARGET, install): Likewise.
+
 Mon Sep 18 14:53:22 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:
index 5a2d00d1400f89e8f38f06403c5acb9c20ccb661..13704659303ecf972ea17fa3d29ecb02c775a8a7 100644 (file)
@@ -136,12 +136,18 @@ SECTIONS
   .sdata   ${RELOCATING-0} : { *(.sdata) }
   ${RELOCATING+_edata  =  .;}
   ${RELOCATING+PROVIDE (edata = .);}
-  ${RELOCATING+__bss_start = .;}
-  .sbss    ${RELOCATING-0} : { *(.sbss) *(.scommon) }
+  .sbss    ${RELOCATING-0} :
+  {
+    ${RELOCATING+__sbss_start = .;}
+    *(.sbss)
+    *(.scommon)
+    ${RELOCATING+__sbss_end = .;}
+  }
   ${RELOCATING+_GOT_END_ = .;}
-  ${RELOCATING+${OTHER_BSS_SYMBOLS}}
   .bss     ${RELOCATING-0} :
   {
+   ${RELOCATING+${OTHER_BSS_SYMBOLS}}
+   ${RELOCATING+__bss_start = .;}
    *(.dynbss)
    *(.bss)
    *(COMMON)