Fix pe-coff reloc overflow problems

Nick Clifton nickc@redhat.com
Sat Oct 4 11:14:00 GMT 2003


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
        



More information about the Binutils mailing list