This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: Fix building BFD library for powerpc-aix
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 10 Jul 2017 13:17:34 +0100
- Subject: Commit: Fix building BFD library for powerpc-aix
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=nickc at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 2DE5474863
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 2DE5474863
Hi Guys,
I am checking in the patch below (mainline & branch) to fix a compile
time warning about a duplicate switch value when building the bfd
library for a powerpc-aix target.
Cheers
Nick
bfd/ChangeLog
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.
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