sparc-aout and sparc-coff breakage

Alan Modra amodra@gmail.com
Tue Oct 14 04:39:00 GMT 2014


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



More information about the Binutils mailing list