m68k reloc types

Andreas Schwab schwab@suse.de
Tue Aug 17 09:18:00 GMT 2004


Richard Henderson <rth@redhat.com> writes:

> On Tue, Aug 17, 2004 at 10:43:36AM +0200, Andreas Schwab wrote:
>> Richard Henderson <rth@redhat.com> writes:
>> > where it could be
>> >
>> > 	add.l %d0, x@GOTOFF(%a5)
>> 
>> [ ITYM x@GOTOFF(%pc) ]
>
> No, I do not.  PC-relative addresses may *not* be used as
> destinations on m68k.

Ok, I understand now what you were trying to say.  But that would only
work for non-dynamic symbols, since you must go through the GOT if you
reference a global symbol.

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