OSDN Git Service

PR target/49099
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 12:44:16 +0000 (12:44 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2011 12:44:16 +0000 (12:44 +0000)
* config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap
declaration in TARGET_SOLARIS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174279 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sparc/sparc.c

index 5670f01..f4047ef 100644 (file)
@@ -1,3 +1,9 @@
+2011-05-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR target/49099
+       * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap
+       declaration in TARGET_SOLARIS.
+
 2011-05-26  Hariharan Sandanagobalane <hariharan@picochip.com>
 
        * config/picochip/picochip.md (cbranchhi4): No :CC for match_operator.
index c0f4e75..d65ced0 100644 (file)
@@ -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);