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: Jim Wilson <wilson at redhat dot com>, binutils at sources dot redhat dot com
- Subject: Re: wrong bss/sbss section choosen when multiple commons merged
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Wed, 18 Apr 2001 22:29:46 -0700
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> I tried adding code to use the section of the larger symbol.
I think you probably want to use the section of the _smaller_ symbol.
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).
--
- Geoffrey Keating <geoffk@geoffk.org>