Account for trailing bytes read from bfd_bread
authorAlan Modra <amodra@gmail.com>
Wed, 9 Jul 2014 10:34:40 +0000 (20:04 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Jul 2014 04:18:08 +0000 (13:48 +0930)
commit87f14779da25380b2e1ee67edcf984f0f8c922c4
treefda1e2b6b89edb6cbb28d83af4fdfd9c169b2755
parentcd3416da32a950d8ff4fee2863df57bb3f4b7c51
Account for trailing bytes read from bfd_bread

* cache.c (cache_bread_1): Don't return -1 when fread returns
a positive value.
bfd/ChangeLog
bfd/cache.c