aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-06-28 11:00:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-06-28 11:01:21 -0700
commit47fdcf63c04b5c220974affc8ff1d9ef8a041919 (patch)
treeedb5303ef9da47d2786c33f950721cbb70f44d68 /binutils/ChangeLog
parent6e75794e9da0e12b44c36272e16d18449d25a03d (diff)
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.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index c5b8f19b31..f0ecdc675d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * objdump.c (dump_relocs_in_section): Cast to ufile_ptr when
+ comparing against bfd_get_file_size return.
+
2017-06-28 Nick Clifton <nickc@redhat.com>
* objcopy.c (merge_gnu_build_notes): Add support for version 2 notes.