More fixes for bfd_get_section_contents change
authorAlan Modra <amodra@gmail.com>
Tue, 27 Jun 2017 00:15:04 +0000 (09:45 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 27 Jun 2017 00:16:45 +0000 (09:46 +0930)
commit7211ae501eb0de1044983f2dfb00091a58fbd66c
treee795f62e3cab3e9a7c2935f6307f858163ec6f52
parentdc819143fe1d44970a3da4b9ebc7828fa2337115
More fixes for bfd_get_section_contents change

PR binutils/21665
* libbfd.c (_bfd_generic_get_section_contents): Delete abort.
Use unsigned file pointer type, and remove cast.
* libbfd.c (_bfd_generic_get_section_contents_in_window): Likewise.
Add "count", not "sz".
bfd/ChangeLog
bfd/libbfd.c