-Tbss on ELF harmful?

Hans-Peter Nilsson hp@bitrange.com
Mon Oct 29 19:52:00 GMT 2001


On Mon, 29 Oct 2001, DJ Delorie wrote:

> > Have you tried
> >
> >   __bss_start = MIN_K (ADDR (.bss), ADDR (.sbss)) ;
>
> Won't work if the two aren't contiguous, or if there is no .sbss
> section (in which case, who knows what the "address" would be?)

Your problem can be solved by e.g. using SIZEOF (.sbss).  At
least I think so.  If not, there's a bug in
ld/emulparams/criself.sh.

brgds, H-P



More information about the Binutils mailing list