aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog5
-rwxr-xr-xld/aout.sc-sh1
-rw-r--r--ld/m68kcoff.sc-sh1
3 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 7f222bd..976a492 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
+
+ * aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
+ .bss segment.
+
Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* ldmain.c (linear_library): don't even think about processing
diff --git a/ld/aout.sc-sh b/ld/aout.sc-sh
index 7fcea05..5a5bd24 100755
--- a/ld/aout.sc-sh
+++ b/ld/aout.sc-sh
@@ -20,6 +20,7 @@ SECTIONS
}
.bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
{
+ ${RELOCATING+ __bss_start = .};
*(.bss)
*(COMMON)
${RELOCATING+_end = . };
diff --git a/ld/m68kcoff.sc-sh b/ld/m68kcoff.sc-sh
index 485f3bb..393688f 100644
--- a/ld/m68kcoff.sc-sh
+++ b/ld/m68kcoff.sc-sh
@@ -29,6 +29,7 @@ SECTIONS
} ${RELOCATING+ > data}
.bss SIZEOF(.data) + ADDR(.data) :
{
+ ${RELOCATING+ __bss_start = .};
*(.bss)
*(COMMON)
${RELOCATING+ _end = ALIGN(0x8)};