[binutils-gdb/binutils-2_29-branch] Fix compile time warning when building for powerpc-aix target.
Nick Clifton
nickc@sourceware.org
Mon Jul 10 12:19:00 GMT 2017
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=93a08a1d6c1ede3acb0f3b01593bc4967c6810a4
commit 93a08a1d6c1ede3acb0f3b01593bc4967c6810a4
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Jul 10 13:19:16 2017 +0100
Fix compile time warning when building for powerpc-aix target.
* coffcode.h (coff_slurp_symbol_table): Do not include an entry
for C_AIX_WEAKEXT if it has the same value as C_WEAKEXT.
Diff:
---
bfd/ChangeLog | 5 +++++
bfd/coffcode.h | 2 ++
2 files changed, 7 insertions(+)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c19fe9c..ad2d605 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-10 Nick Clifton <nickc@redhat.com>
+
+ * coffcode.h (coff_slurp_symbol_table): Do not include an entry
+ for C_AIX_WEAKEXT if it has the same value as C_WEAKEXT.
+
2017-07-07 Alan Modra <amodra@gmail.com>
* coffcode.h (coff_slurp_symbol_table): Handle C_AIX_WEAKEXT.
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index ef82772..4aa9741 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -4811,8 +4811,10 @@ coff_slurp_symbol_table (bfd * abfd)
#endif
#ifdef RS6000COFF_C
case C_HIDEXT:
+#if ! defined _AIX52 && ! defined AIX_WEAK_SUPPORT
case C_AIX_WEAKEXT:
#endif
+#endif
#ifdef C_SYSTEM
case C_SYSTEM: /* System Wide variable. */
#endif
More information about the Binutils-cvs
mailing list