This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: wrong bss/sbss section choosen when multiple commons merged


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]