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



> 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>


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