Fix compile time warning about duplicate case values 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.
This commit is contained in:
Nick Clifton 2017-07-10 13:18:05 +01:00
parent 77c501bcea
commit adce5b398d
2 changed files with 7 additions and 0 deletions

View 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 John Baldwin <jhb@FreeBSD.org>
* elf.c (elfcore_grok_freebsd_note): Handle NT_FREEBSD_PTLWPINFO.

View 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