This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fix pe-coff reloc overflow problems
- From: Nick Clifton <nickc at redhat dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 04 Oct 2003 12:12:26 +0100
- Subject: Re: Fix pe-coff reloc overflow problems
- References: <3F6B161E.4050702@codesourcery.com>
Hi Nathan,
> 2003-09-19 Nathan Sidwell <nathan@codesourcery.com>
>
> * coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
> overflow, set reloc start position to after the count
> reloc. Subtract one from num relocs. Give error on 0xffff relocs
> and no overflow.
> * cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc
> overflow.
> * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >=
> 0xffff.
Approved - please apply.
[Sorry for the delay in reviewing this patch - I have been on
vacation].
Cheers
Nick