* libbfd.c (bfd_write): If not everything is written out, set
authorIan Lance Taylor <ian@airs.com>
Mon, 25 Oct 1993 20:09:46 +0000 (20:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 25 Oct 1993 20:09:46 +0000 (20:09 +0000)
commitdf34342bde777c2565334574e0cbf3872b8f51e0
tree128969534a447425edb972c052abdf58170772b2
parentb94e8c39e0d380f9adaf67a12a88930ed3b2bbb0
* libbfd.c (bfd_write): If not everything is written out, set
bfd_error to system_call_error.  If the return value is
non-negative, set errno to ENOSPC (if ENOSPC is defined).
(bfd_seek): If the seek fails, set bfd_error to system_call_error.
(bfd_generic_set_section_contents): For a bad offset + count, set
bfd_error to bad_value.
* seclet.c (rel): Don't abort.  Instead, return false.
bfd/ChangeLog
bfd/libbfd.c
bfd/seclet.c