diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-07-24 09:05:33 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-07-24 09:05:33 -0700 |
commit | 7cb9e39bd8f84867f913232904b4b36c0aea539c (patch) | |
tree | 4f7b442fb7a340c12833112c88abdb3c69876503 /binutils/ChangeLog | |
parent | aff1a65ecb5cfcf1abfb23ea0e0f37f39e75683e (diff) | |
download | binutils-gdb-7cb9e39bd8f84867f913232904b4b36c0aea539c.tar.gz |
Use 0xffffffffffffffffLL to silence GCC 6 warning
GCC 6 warns:
error: result of ‘4294967295ll << 32’ requires 65 bits to represent, but ‘long long int’ only has 64 bits [-Werror=shift-overflow=]
on ((((bfd_signed_vma) 0xffffffff) << 32) | 0xffffffff). This patch
replaces it with bfd_signed_vma) 0xffffffffffffffffLL.
* stabs.c (parse_stab_range_type): Use 0xffffffffffffffffLL.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4679498d190..bbaf93785a5 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2015-07-24 H.J. Lu <hongjiu.lu@intel.com> + + * stabs.c (parse_stab_range_type): Use 0xffffffffffffffffLL. + 2015-07-22 Alan Modra <amodra@gmail.com> * readelf.c (dump_relocations): Show MIN_INT addends as negative. |