This is the mail archive of the libc-alpha@sources.redhat.com 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: new ppc32 GOT/PLT support


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 â

Attachment: signature.asc
Description: OpenPGP digital signature


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