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


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


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