]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix compile time warning when building for powerpc-aix target.
authorNick Clifton <nickc@redhat.com>
Mon, 10 Jul 2017 12:19:16 +0000 (13:19 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 10 Jul 2017 12:19:16 +0000 (13:19 +0100)
* coffcode.h (coff_slurp_symbol_table): Do not include an entry
for C_AIX_WEAKEXT if it has the same value as C_WEAKEXT.

bfd/ChangeLog
bfd/coffcode.h

index c19fe9c8692425f44cd72455d5d97a849ce1ac7e..ad2d605de1aa93c8b0d226ae6a81c631263f67a6 100644 (file)
@@ -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.
index ef8277220863b98b6d328489084b44630f48ec2b..4aa974136afc5ae9432d8dd2d3ce44212f41efb3 100644 (file)
@@ -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