wrong bss/sbss section choosen when multiple commons merged

Geoff Keating geoffk@geoffk.org
Wed Apr 18 22:29:00 GMT 2001


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



More information about the Binutils mailing list