diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-10-05 21:08:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-10-05 21:08:41 +0000 |
commit | b5ddf9421cc5a2d219dd6e5fb327ed654e25231d (patch) | |
tree | 9ec2b5bd94d702712ae2e851cb01f443a5e48738 | |
parent | 5d5a9c3ccb574948b6a142abb326aa1ed1dd2cd5 (diff) | |
download | gdb-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.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rwxr-xr-x | ld/aout.sc-sh | 1 | ||||
-rw-r--r-- | ld/m68kcoff.sc-sh | 1 |
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)}; |