This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86: adjust relocation overflow complaint types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]