This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
sparc-aout and sparc-coff breakage
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 14 Oct 2014 15:09:14 +1030
- Subject: sparc-aout and sparc-coff breakage
- Authentication-results: sourceware.org; auth=none
Applied. The new tests added at the same time as the build breakage
also fail on sparc-aout and sparc-coff:
FAIL: OSA2015 crypto instructions
FAIL: sparc OSA2015 %mwait asr and MWAIT instruction
FAIL: sparc OSA2015 %mcdper asr
FAIL: sparc SPARC5 and VIS4.0
* config/tc-sparc.c (sparc_md_end): Fix unused variable warnings.
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 1d2f945..758fcc8 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -971,7 +971,9 @@ void
sparc_md_end (void)
{
unsigned long mach = bfd_mach_sparc;
+#if defined(OBJ_ELF) && !defined(TE_SOLARIS)
int hwcaps, hwcaps2;
+#endif
if (sparc_arch_size == 64)
switch (current_architecture)
--
Alan Modra
Australia Development Lab, IBM