This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Change bfd_get_size/bfd_get_file_size to ufile_ptr
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 28 Jun 2017 14:21:26 -0400
- Subject: [binutils-gdb] Change bfd_get_size/bfd_get_file_size to ufile_ptr
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 47fdcf63c04b5c220974affc8ff1d9ef8a041919 ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 47fdcf63c04b5c220974affc8ff1d9ef8a041919
Change bfd_get_size/bfd_get_file_size to ufile_ptr
bfd_get_size and bfd_get_file_size should return the unsigned file
size. Otherwise they return negative values for file >= 2GB with
32-bit ufile_ptr.
bfd/
* bfd-in2.h: Regenerated.
* bfdio.c (bfd_get_size): Change return type to ufile_ptr.
(bfd_get_file_size): Likewise.
binutils/
* objdump.c (dump_relocs_in_section): Cast to ufile_ptr when
comparing against bfd_get_file_size return.