* libbfd.c (bfd_read): Check result of read against desired result
commit8952ae4c1b81ba02a3b5b9f44fed2c4e9235c2e9
authorIan Lance Taylor <ian@airs.com>
Tue, 9 Nov 1999 19:13:21 +0000 (9 19:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 9 Nov 1999 19:13:21 +0000 (9 19:13 +0000)
treedce1b27a5053f8c6e77cd2e87dde3d15731aa819
parentd87a3ba12f13d7931b1eaab316bc6ad1543368b7
* libbfd.c (bfd_read): Check result of read against desired result
using !=, not <.
(_bfd_generic_get_section_contents): Set bfd_error if the seek is
invalid compared to the section size.
bfd/ChangeLog
bfd/libbfd.c