OSDN Git Service

* 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)
commit663de987e6b34497f8aa33aa67f0ddf6da983ebc
treea6c71ed5700874534add4c36b79d9498e88c091a
parentf3620324aa0e864134bda2802c6c5a91f0a2cca7
* 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