* 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)
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

index 3173f4030ef2fb8c28d82a5629a7f5546aaf9fb9..f5ab8364b43a0cac52a37f79934ef98e38c744e3 100644 (file)
@@ -1,5 +1,12 @@
 Thu Mar  9 15:06:25 1995  Ian Lance Taylor  <ian@cygnus.com>
 
+       * 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 <stdarg.h> or <varargs.h>, depending upon
        ANSI_PROTOTYPES.
        (bfd_error_handler_type): New global type.