m68k reloc types
Andreas Schwab
schwab@suse.de
Wed Aug 18 09:45:00 GMT 2004
Richard Henderson <rth@redhat.com> writes:
> See ix86_select_alt_pic_regnum. Do the same thing for m68k.
Nice, although changing pic_offset_table_rtx on the fly looks a bit
hackish. :-) On the m68k we could even go a bit further, since we don't
need to set up the pic register just for doing function calls through the
plt.
> You do, however, still have to leave one register fixed so
> that you have a backup in case no scratch is available.
That's really unfortunate, since it makes it unavailable in functions that
don't access any global data, which is probably more common in C++.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list