aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-05-15 10:29:03 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-05-15 10:29:03 -0700
commitfd8008d83ce379a8d3f3bb9c3b1a723e16c401d4 (patch)
tree90249d6441d0f4e414aca6958fb252bf73b6fadf /binutils/ChangeLog
parent5db04b0965e3e7a9344a93de22caae3c111de2cc (diff)
downloadgdb-fd8008d83ce379a8d3f3bb9c3b1a723e16c401d4.zip
gdb-fd8008d83ce379a8d3f3bb9c3b1a723e16c401d4.tar.gz
gdb-fd8008d83ce379a8d3f3bb9c3b1a723e16c401d4.tar.bz2
Change pointers from char * to unsigned char *
GCC 4.2 complaints: cc1: warnings being treated as errors binutils/readelf.c:12057: warning: dereferencing type-punned pointer will break strict-aliasing rules This patch silences this GCC warning. * readelf.c (dump_section_as_strings): Change pointers from char * to unsigned char *.
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 2328f6e..4813a89 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,10 @@
2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
+ * readelf.c (dump_section_as_strings): Change pointers from
+ char * to unsigned char *.
+
+2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
+
PR binutis/18386
* doc/binutils.texi: Document -Mamd64 and -Mintel64.