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]
Other format: [Raw text]

Re: The .sbss section on ELF/x86


On Mon, Nov 26, 2001 at 04:45:37PM -0800, Geoff Keating wrote:
> > > 
> > > if not, then either PROVIDE should be changed, so that it is skipped if the
> > > containing output section is empty, or some other keyword should be used
> > > instead. Having empty .sbss in every binary/library is strange...
> > > 
> > 
> > Geoff, I think your patch:
> > 
> > http://sources.redhat.com/ml/binutils/2000-04/msg00125.html
> > 
> > caused the empty .sbss section. Could you please tell us how to remove
> > the empty .sbss section? If only PPC needs it, can we turn them on only
> > when needed?
> 
> I'm not sure what needs it now---that patch went in over a year ago,
> it's quite likely that something else is now using those symbols.  Is
> there some reason why it's causing problems?
> 

ELF/x86 doesn't use/have the .sbss section. I don't want it in every
ELF/x86 binary. To the least, ld should output the .bss section only
for targets which actually use it.


H.J.


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