This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: wrong bss/sbss section choosen when multiple commons merged
- To: Geoff Keating <geoffk at redhat dot com>
- Subject: Re: wrong bss/sbss section choosen when multiple commons merged
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 19 Apr 2001 09:29:43 -0700
- Cc: Jim Wilson <wilson at redhat dot com>, binutils at sources dot redhat dot com
- References: <200104190529.WAA04051@geoffk.org>
On Wed, Apr 18, 2001 at 10:29:46PM -0700, Geoff Keating wrote:
> I think you probably want to use the section of the _smaller_ symbol.
Nope.
> That is, you want the symbol to be in sbss rather than in bss, because
> one of the object files will assume that the symbol has been placed in
> the sdata section (since it was small enough).
If they assume that, they are wrong. COMMON symbols can't
be treated that way.
r~