diff --git a/ld/ChangeLog b/ld/ChangeLog index 7f222bd317..976a492584 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 7fcea058d0..5a5bd24538 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 485f3bb8ed..393688fcfb 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)};