[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 02/23] x86/boot: copy only text section from *.lnk file to *.bin file

>>> On 21.07.15 at 19:23, <daniel.kiper@xxxxxxxxxx> wrote:
> First of all ld generates .got.plt section and objcopy copy it to binary 
> file.
> It is not needed because we do not link our stuff here with shared 
> libraries.
> So, we can use -R objcopy option to remove it (if you do not like -j .text).
> This way we could save 15 bytes (at least on my machines).

So I checked and did find no .got.plt at all on a machine using
binutils 2.25 and an empty one on a machine using an older
version. So I'm curious what you're seeing present in that
table (without any of your patches applied).


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.