* coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 7 Oct 2003 08:49:11 +0000 (08:49 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 7 Oct 2003 08:49:11 +0000 (08:49 +0000)
commitcd339148dea20e4fffc4a184329a978c7894a9e5
treea34c3c9a5252190f26d3098f074f6ac7b9f2d4a1
parent2f9626f3fd613ff1f0356f426d8b3b30e8acf766
* 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.
bfd/ChangeLog
bfd/coffcode.h
bfd/cofflink.c
bfd/peXXigen.c