+2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/sparc/sparc.c (sparc_elf_asm_named_section): Test for
+ HAVE_GNU_AS value.
+ * config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION):
+ Test for HAVE_GNU_AS value.
+
2010-01-25 Christian Bruel <christian.bruel@st.com>
PR target/42841
2010-01-24 David S. Miller <davem@davemloft.net>
- * gcc/config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
+ * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only
define if not using GAS.
- * gcc/config/sparc/sparc.c (sparc_elf_asm_named_section):
+ * config/sparc/sparc.c (sparc_elf_asm_named_section):
Likewise. Delete SECTION_MERGE code, which is only applicable
when using GAS.
/* Subroutines for insn-output.c for SPARC.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2010
Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
64-bit SPARC-V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
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) && !defined (HAVE_GNU_AS)
+#if defined (OBJECT_FORMAT_ELF) && !HAVE_GNU_AS
static void sparc_elf_asm_named_section (const char *, unsigned int, tree);
#endif
emit_library_call (fun, LCT_NORMAL, VOIDmode, 1, lab, Pmode);
}
\f
-#if defined (OBJECT_FORMAT_ELF) && !defined (HAVE_GNU_AS)
+#if defined (OBJECT_FORMAT_ELF) && !HAVE_GNU_AS
static void
sparc_elf_asm_named_section (const char *name, unsigned int flags,
tree decl)