Millicode calls, GP register, ld -r

David Huggins-Daines dhd@linuxcare.com
11 Aug 2000 16:23:56 -0400


Alan Modra <alan@linuxcare.com.au> writes:

> So...  I can turn a PLABEL reference into a GOT reference, which will
> magically fix the $$dyncall problem.

Yes, that's the right idea.  However it only works for external
symbols, and you still need a PLABEL32 relocation for function
pointers to local symbols within a shared object (like dl_main for
instance, hint hint :-)

I'll try to take a shot at it but I still don't fully comprehend the
BFD code.

-- 
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.