[GOLD] PowerPC TOC16 and GOT16 relocs are relative

Cary Coutant ccoutant@gmail.com
Thu Nov 19 07:17:00 GMT 2015


> A pasto from x86_64, probably.  BTW, looks to me like RELATIVE_REF
> is write-only.

Yes, we only check for ABSOLUTE_REF or TLS_REF. RELATIVE_REF is just
there for completeness. It's not beyond imagination that the flag
might be useful at some point, though. I suppose symbol.h could use a
comment to the effect that those three bits are mutually exclusive.

-cary



More information about the Binutils mailing list