+2010-12-06 Eric Botcazou <ebotcazou@adacore.com>
+
+ * config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
+ * config/sparc/sol2-gas.h (PUSHSECTION_FORMAT): Redefine.
+
2010-12-06 Joern Rennecke <amylaar@spamcop.net>
PR target/46735
/* Use default ELF section syntax. */
#undef TARGET_ASM_NAMED_SECTION
#define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section
+
+/* And standard pushsection syntax. While GNU as supports the non-standard
+ variant too, we prefer the former. */
+#undef PUSHSECTION_FORMAT
+#define PUSHSECTION_FORMAT "\t.pushsection\t%s\n"
#undef TARGET_ASM_NAMED_SECTION
#define TARGET_ASM_NAMED_SECTION sparc_solaris_elf_asm_named_section
-/* Solaris/SPARC as uses a non-standard .section/.pushsection syntax.
- While gas supports it, too, we prefer the standard variant. */
-#ifndef USE_GAS
+/* And SPARC non-standard pushsection syntax. */
#undef PUSHSECTION_FORMAT
-#define PUSHSECTION_FORMAT "\t.pushsection\t\"%s\"\n"
-#endif
+#define PUSHSECTION_FORMAT "\t.pushsection\t\"%s\"\n"
/* Static stack checking is supported by means of probes. */
#define STACK_CHECK_STATIC_BUILTIN 1