From: Ian Lance Taylor Date: Mon, 5 Oct 1992 21:08:41 +0000 (+0000) Subject: Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5ddf9421cc5a2d219dd6e5fb327ed654e25231d;p=binutils-gdb.git 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 7f222bd3171..976a4925842 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 7fcea058d06..5a5bd24538c 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 485f3bb8ed1..393688fcfb7 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)};