This is the mail archive of the binutils@sourceware.org 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: [gold, strip] Question about the changed offset when stripping


On Mon, Dec 02, 2013 at 02:09:53PM -0800, Cary Coutant wrote:
> >>  As you can see the offset of .bss is changed now (it is equal now to
> >> the offset of got.plt+size of gol.plt).
> >> Is it criminal? I don't see anything wrong with gold inserting a
> >> padding between .got.plt and .bss, why strip do not honor it?
> >
> > strip should not be doing this.  Please post the pre-stripped binary,
> > so someone can take a look, or better, open a bug report.
> 
> It looks like only the file offset changed, and the file offset is
> irrelevant for a BSS section. I don't think strip is doing any harm
> here.

Oh right.  I misread the readelf fields, for some reason thinking that
offset came first.

-- 
Alan Modra
Australia Development Lab, IBM


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