From: Nick Clifton Date: Mon, 10 Jul 2017 12:19:16 +0000 (+0100) Subject: Fix compile time warning when building for powerpc-aix target. X-Git-Tag: binutils-2_29~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93a08a1d6c1ede3acb0f3b01593bc4967c6810a4;p=thirdparty%2Fbinutils-gdb.git 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 --git a/bfd/ChangeLog b/bfd/ChangeLog index c19fe9c8692..ad2d605de1a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2017-07-10 Nick Clifton + + * 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 * coffcode.h (coff_slurp_symbol_table): Handle C_AIX_WEAKEXT. diff --git a/bfd/coffcode.h b/bfd/coffcode.h index ef827722086..4aa974136af 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