PATCH: Make STT_GNU_IFUNC symbol dynamic
H.J. Lu
hjl.tools@gmail.com
Sun May 24 02:40:00 GMT 2009
On Sat, May 23, 2009 at 5:43 PM, Ulrich Drepper <drepper@redhat.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> H.J. Lu wrote:
>> I took a look. It isn't hard to implement. Should it be R_*_IJUMP_SLOT
>> since it will be processed closer to R_*_JUMP_SLOT than R_*_RELATIVE?
>
> I don't think so. The Only R_*_RELATIVE relocations have no underlying
> symbol record.
I will change it to R_*_IRELATIVE:
RELOC_NUMBER (R_386_IRELATIVE, 42) /* Adjust indirectly by program base */
RELOC_NUMBER (R_X86_64_IRELATIVE, 37) /* Adjust indirectly by program base */
>
>> My linker only patch for x86-64 is ready for test. I just need to
>> verify it works with glibc on x86-64.
>
> Great. Let me know where to get it when you're done.
>
If you can check in your glibc patch, I can test my binutis change
before I submit it.
Thanks.
--
H.J.
More information about the Libc-alpha
mailing list