summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-10-13 22:57:58 +1030
committerAlan Modra <amodra@gmail.com>2014-10-14 13:52:02 +1030
commitdaf5e10e4cb2c5e502950dae5da5936d9a3d5a79 (patch)
treed8496c8553dfb54a61ae98b0b1c484a3de16cc23
parent29665a79b6dd7146656b98520da468851d1ad974 (diff)
downloadbinutils-daf5e10e4cb2c5e502950dae5da5936d9a3d5a79.tar.gz
binutils-daf5e10e4cb2c5e502950dae5da5936d9a3d5a79.tar.bz2
binutils-daf5e10e4cb2c5e502950dae5da5936d9a3d5a79.zip
sparc-aout and sparc-coff breakage
* config/tc-sparc.c (sparc_md_end): Fix unused variable warnings.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-sparc.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6abdfe3ac61..5eb4813d227 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,4 +1,8 @@
-2014-10-09 Jose E. Marchesi &lt;jose.marchesi@oracle.com&gt;
+2014-10-14 Alan Modra <amodra@gmail.com>
+
+ * config/tc-sparc.c (sparc_md_end): Fix unused variable warnings.
+
+2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
* config/tc-sparc.c (v9a_asr_table): Entry for %cps removed.
(sparc_arch_table): Remove the HWCAP_RANDOM, HWCAP_TRANS and
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 1d2f945d679..758fcc810e0 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)