From: Ian Lance Taylor Date: Thu, 9 Mar 1995 22:58:14 +0000 (+0000) Subject: * coffswap.h (coff_swap_scnhdr_out): If the line number count or X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99514eec14ad60d39a2da5ec34566426ae2e97f0;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3173f4030ef..f5ab8364b43 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ Thu Mar 9 15:06:25 1995 Ian Lance Taylor + * 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.c: Include or , depending upon ANSI_PROTOTYPES. (bfd_error_handler_type): New global type.