This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: PATCH: Make STT_GNU_IFUNC symbol dynamic


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.


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