* coff-arm.c (arm_emit_base_file_entry): Check fwrite return value.
authorAlan Modra <amodra@gmail.com>
Mon, 15 Oct 2007 02:00:11 +0000 (02:00 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 15 Oct 2007 02:00:11 +0000 (02:00 +0000)
commitb1657152098cd6a327e6d308bae00573b8c33daf
tree47c0962ef821ea8b44ac58f91776b9deaa79c7d3
parent919bea4130fa41aa5fa5580fe361e1c88a6fdf2e
* coff-arm.c (arm_emit_base_file_entry): Check fwrite return value.
Return status.  Adjust callers.
* coff-mcore.c (mcore_emit_base_file_entry): Likewise.
* coff-ppc.c (write_base_file_entry): New function.
(coff_ppc_relocate_section): Use it.
* elf32-arm.c (find_thumb_glue): Check asprintf return status.
(find_arm_glue): Likewise.
* vms-misc.c (_bfd_vms_output_flush): Check fwrite return value.
bfd/ChangeLog
bfd/coff-arm.c
bfd/coff-mcore.c
bfd/coff-ppc.c
bfd/elf32-arm.c
bfd/vms-misc.c