[PATCH] x86: adjust relocation overflow complaint types

Alan Modra amodra@bigpond.net.au
Tue Aug 2 03:22:00 GMT 2005


On Mon, Aug 01, 2005 at 11:36:24AM -0700, H. J. Lu wrote:
> On Mon, Aug 01, 2005 at 10:14:35AM -0700, H. J. Lu wrote:
> > I'd like to restricts those relocations to 16bit code. Jan, what do
> > you think?
> 
> If we want to use R_xxx_16/R_xxx_8 in 32bit/64bit codes, we should use
> differet numbers so that we can proper check overflows in 16bit code. 

No, just revert back to the old behaviour on these relocs.  The warning
on the dosemu code is wrong and I don't think it is worth adding new
relocs just for correct overflow checking.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list