Millicode calls, GP register, ld -r
Sat, 12 Aug 2000 11:35:44 +1000 (EST)
On Sat, 12 Aug 2000, Alan Modra wrote:
> On 11 Aug 2000, David Huggins-Daines wrote:
> > Here's an (ugly) patch that works. Please verify that the last chunk
> Looks OK to me.
I'll install a slightly modified version of your patch. The other PLABEL
relocs should be handled as for PLABEL32, not that it matters for gcc
output as I've never caught gcc generating code that used PLABEL14R and
PLABEL21L. A pity, because current gcc PIC code for handling function
pointers is rather inefficient. Typically, you get something like:
which could all be replaced with
saving on code size, memory accesses, and relocs.
Linuxcare. Support for the Revolution.