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


2013/12/3 Alan Modra <amodra@gmail.com>:
> On Tue, Dec 03, 2013 at 02:30:48PM +0400, Alexander Ivchenko wrote:
>> Still, it looks a bit strange that strip did the job that it was not
>> asked for: erasing the padding between got.plt and bss.
>
> No, strip didn't change any padding.  The VMA is unchanged after strip.
> Since .bss is not loaded from file, the file offset hardly matters.

Well, still it did change the padding between the "file offset of
.got.plt + size of (.got.plt)"  and "file offset of .bss".
Even if it hardly matters, I did not ask strip to do that. But anyway,
I see your point, thanks.


--Alexander


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