[PATCH] Implement x86 SIZE32/SIZE64 relocations

H.J. Lu hjl.tools@gmail.com
Wed Jan 16 20:24:00 GMT 2013


On Wed, Jan 16, 2013 at 12:14 PM, David Miller <davem@davemloft.net> wrote:
>
> If anything, for relocations meant to be found in shared objects, it
> is the dynamic linker which is absolutely the first place support
> should show up.  It should not be dependent upon binutils support at
> all.

Yes, that is so true.  I had to implement it in glibc first to verify that
my binutils implementation is correct.

> GLIBC dynamic linker support is the one that needs the largest amount
> of lead time, and the one for which it is the most difficult for a
> developer or use to integrate into their environment on their own.
>
> This even applies to the person who writes the binutils support for
> emitting the relocations themselves.

David, do you plan to add Sparc size relocation support to gas and
ld? I choose "@SIZE" to indicate size relocation.  I will add both
gas and ld tests for them.

> So I definitely think HJ's patch should go in as soon as possible.



-- 
H.J.



More information about the Libc-alpha mailing list