From 7e32e6521aa6f699ddc1a00af5f38ceae120cb17 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 26 May 2011 12:44:16 +0000 Subject: [PATCH] =?utf8?q?re=20PR=20target/49099=20(sparc.c:=E2=80=98sparc?= =?utf8?q?=5Fsolaris=5Felf=5Fasm=5Fnamed=5Fsection=E2=80=99=20declared=20?= =?utf8?q?=E2=80=98static=E2=80=99=20but=20never=20defined)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PR target/49099 * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap declaration in TARGET_SOLARIS. From-SVN: r174279 --- gcc/ChangeLog | 6 ++++++ gcc/config/sparc/sparc.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5670f013307..f4047ef597b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-05-26 Rainer Orth + + PR target/49099 + * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap + declaration in TARGET_SOLARIS. + 2011-05-26 Hariharan Sandanagobalane * config/picochip/picochip.md (cbranchhi4): No :CC for match_operator. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index c0f4e75590a..d65ced03d2d 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -392,8 +392,10 @@ 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); +#ifdef TARGET_SOLARIS static void sparc_solaris_elf_asm_named_section (const char *, unsigned int, tree) ATTRIBUTE_UNUSED; +#endif static int sparc_adjust_cost (rtx, rtx, rtx, int); static int sparc_issue_rate (void); static void sparc_sched_init (FILE *, int, int); -- 2.30.2