diff options
Diffstat (limited to 'gcc/config/sparc/sparc.c')
-rw-r--r-- | gcc/config/sparc/sparc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index f48536ffc6f..f366f78aaa9 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -368,8 +368,9 @@ static int save_or_restore_regs (int, int, rtx, int, int); static void emit_save_or_restore_regs (int); static void sparc_asm_function_prologue (FILE *, HOST_WIDE_INT); static void sparc_asm_function_epilogue (FILE *, HOST_WIDE_INT); -#if defined (OBJECT_FORMAT_ELF) && !HAVE_GNU_AS -static void sparc_elf_asm_named_section (const char *, unsigned int, tree); +#if defined (OBJECT_FORMAT_ELF) +static void sparc_elf_asm_named_section (const char *, unsigned int, tree) + ATTRIBUTE_UNUSED; #endif static int sparc_adjust_cost (rtx, rtx, rtx, int); @@ -7986,7 +7987,7 @@ sparc_profile_hook (int labelno) } } -#if defined (OBJECT_FORMAT_ELF) && !HAVE_GNU_AS +#if defined (OBJECT_FORMAT_ELF) static void sparc_elf_asm_named_section (const char *name, unsigned int flags, tree decl ATTRIBUTE_UNUSED) |