new ppc32 GOT/PLT support

Jakub Jelinek jakub@redhat.com
Fri May 20 07:53:00 GMT 2005


On Fri, May 20, 2005 at 12:28:23AM -0700, Ulrich Drepper 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.

When you don't have 9 days or less old binutils installed...

	Jakub



More information about the Libc-alpha mailing list