* coffswap.h (coff_swap_scnhdr_out): If the line number count or
authorIan Lance Taylor <ian@airs.com>
Thu, 9 Mar 1995 22:58:14 +0000 (22:58 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 9 Mar 1995 22:58:14 +0000 (22:58 +0000)
commit99514eec14ad60d39a2da5ec34566426ae2e97f0
tree2f647cfb9d5180d068f68d7dec43f469d7355598
parent0318ed310910d84a42a86f8c0ad882157442bb91
* coffswap.h (coff_swap_scnhdr_out): If the line number count or
the reloc count does not fit, print an error and return 0.
* coffcode.h (coff_write_object_contents): Check return value of
coff_swap_scnhdr_out.
* ecoff.c (_bfd_ecoff_write_object_contents): Check return value
of bfd_coff_swap_scnhdr_out.
bfd/ChangeLog