From daf5e10e4cb2c5e502950dae5da5936d9a3d5a79 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 13 Oct 2014 22:57:58 +1030 Subject: [PATCH] sparc-aout and sparc-coff breakage * config/tc-sparc.c (sparc_md_end): Fix unused variable warnings. --- gas/ChangeLog | 6 +++++- gas/config/tc-sparc.c | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 6abdfe3..5eb4813 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,4 +1,8 @@ -2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com> +2014-10-14 Alan Modra + + * config/tc-sparc.c (sparc_md_end): Fix unused variable warnings. + +2014-10-09 Jose E. Marchesi * 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 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) -- 2.7.4