This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: -Tbss on ELF harmful?
- To: DJ Delorie <dj at redhat dot com>
- Subject: Re: -Tbss on ELF harmful?
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- Date: Mon, 29 Oct 2001 22:52:54 -0500 (EST)
- cc: <amodra at bigpond dot net dot au>, <binutils at sources dot redhat dot com>
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