[PATCH] x86: adjust relocation overflow complaint types
Ian Lance Taylor
Mon Aug 1 17:11:00 GMT 2005
Andreas Schwab <firstname.lastname@example.org> writes:
> Ian Lance Taylor <email@example.com> writes:
> > For what it's worth, I agree with Michael. R_386_PC16 reliably wraps
> > around in 16-bit code.
> But then it shouldn't be represented internally as BFD_RELOC_16_PCREL,
> since that has different semantics.
I think that by that argument we also shouldn't use BFD_RELOC_32_PCREL
for the 32-bit PC relative relocation, because it also doesn't use
I'm not actually sure the internal reloc number used by BFD makes any
difference, but if it does, then perhaps it should indeed be changed.
More information about the Binutils