new ppc32 GOT/PLT support
Ulrich Drepper
drepper@redhat.com
Fri May 20 07:32:00 GMT 2005
Alan Modra wrote:
>>This is simply
>>
>> asm ("bcl 20,31,0f\n"
>> "0: mflr %0\n"
>> " addis %0,%0,_DYNAMIC-0b@ha\n"
>> " addi %0,%0,_DYNAMIC-0b@l"
>> : "=b"(runtime_dynamic) : : "lr");
>
>
> Only if you have R_PPC_REL16 relocs. I didn't think it worth optimizing
> this code for HAVE_ASM_PPC_REL16.
When is that relocation not available? We do not support crap hardware.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050520/1ffe9c9a/attachment.sig>
More information about the Libc-alpha
mailing list