]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 6 Dec 2010 19:11:02 +0000 (19:11 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 6 Dec 2010 19:11:02 +0000 (19:11 +0000)
* config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
* config/sparc/sol2-gas.h (PUSHSECTION_FORMAT): Redefine.

From-SVN: r167511

gcc/ChangeLog
gcc/config/sparc/sol2-gas.h
gcc/config/sparc/sol2.h

index 0eb96a631086053550c43358567f5984c9f30606..8fc47bba247b14f02cd28c5a8c7f21ee2f4bf815 100644 (file)
@@ -1,3 +1,8 @@
+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
index 4bc2cb470aeb2b53e907f9b24d0feb1f131b9d9d..d83e7b9179be873a3859fdefa8b0cd3948d0802e 100644 (file)
@@ -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"
index 11286626ecc7589468beb462927239905b61d12d..c370ea0d85793f4c6cd637a52d66a03ccd4f216f 100644 (file)
@@ -188,12 +188,9 @@ along with GCC; see the file COPYING3.  If not see
 #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