aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-07-10 13:18:05 +0100
committerNick Clifton <nickc@redhat.com>2017-07-10 13:18:05 +0100
commitadce5b398df497da54e67772233be1b4849666ed (patch)
tree5ee8ed1e2979327afd34dafbf6c02534269bbe12 /bfd/coffcode.h
parent77c501bcea87d4606367ddd87affddf9aed1aa57 (diff)
downloadgdb-adce5b398df497da54e67772233be1b4849666ed.zip
gdb-adce5b398df497da54e67772233be1b4849666ed.tar.gz
gdb-adce5b398df497da54e67772233be1b4849666ed.tar.bz2
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.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 2 insertions, 0 deletions
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