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: ld/1567: 64-bit vma overflow signalled from 32-bit-target address-wrap


On Fri, Oct 28, 2005 at 10:16:25AM -0700, H. J. Lu wrote:
> 	PR ld/1567
> 	* reloc.c (_bfd_relocate_contents): Support 32bit target with
> 	64bit bfd_vma when checking complain_overflow_bitfield.

I don't think there is any point to this patch.  The real bug, which
Hans-Peter fixed, is using complain_overflow_bitfield on a reloc that
is the same width as the address size.  Presumably the intention is
that such relocs should never overflow, because
complain_overflow_bitfield would allow the entire address range.  So
simply using complain_overflow_dont is the correct solution.

-- 
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]