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: Alan Modra <amodra at bigpond dot net dot au>
- Date: Tue, 30 Oct 2001 13:09:11 +1030
- Cc: binutils at sources dot redhat dot com
- References: <200110300146.f9U1kn010611@greed.delorie.com>
On Mon, Oct 29, 2001 at 08:46:49PM -0500, DJ Delorie wrote:
>
> One of our customers has pointed out that -Tbss doesn't work with ELF
> because the __bss_start symbol is not actually inside the .bss
> section, and thus won't get moved with it. However, __bss_start also
> encompasses .sbss, so we can't just move the symbol inside .bss to fix
> it.
Have you tried
__bss_start = MIN_K (ADDR (.bss), ADDR (.sbss)) ;