aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-10-05 21:08:41 +0000
committerIan Lance Taylor <ian@airs.com>1992-10-05 21:08:41 +0000
commitb5ddf9421cc5a2d219dd6e5fb327ed654e25231d (patch)
tree9ec2b5bd94d702712ae2e851cb01f443a5e48738 /ld
parent5d5a9c3ccb574948b6a142abb326aa1ed1dd2cd5 (diff)
downloadgdb-b5ddf9421cc5a2d219dd6e5fb327ed654e25231d.zip
gdb-b5ddf9421cc5a2d219dd6e5fb327ed654e25231d.tar.gz
gdb-b5ddf9421cc5a2d219dd6e5fb327ed654e25231d.tar.bz2
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.
Diffstat (limited to 'ld')
-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)};