aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sol2-gas.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sparc/sol2-gas.h')
-rw-r--r--gcc/config/sparc/sol2-gas.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/sparc/sol2-gas.h b/gcc/config/sparc/sol2-gas.h
index 4bc2cb4..d83e7b9 100644
--- a/gcc/config/sparc/sol2-gas.h
+++ b/gcc/config/sparc/sol2-gas.h
@@ -40,3 +40,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* 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"