diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2010-12-06 19:11:02 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-12-06 19:11:02 +0000 |
commit | 50ad5a003a562aacc68c93a66ebe12dd816b38e6 (patch) | |
tree | 680fe520c66e9ddb34552cc28722c5bb0dbc4efa /gcc | |
parent | 403b89a8748380041c49f82d1ad7dee67a4e4255 (diff) | |
download | gcc-50ad5a003a562aacc68c93a66ebe12dd816b38e6.zip gcc-50ad5a003a562aacc68c93a66ebe12dd816b38e6.tar.gz gcc-50ad5a003a562aacc68c93a66ebe12dd816b38e6.tar.bz2 |
sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
* config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
* config/sparc/sol2-gas.h (PUSHSECTION_FORMAT): Redefine.
From-SVN: r167511
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sol2-gas.h | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 7 |
3 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0eb96a6..8fc47bb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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" diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 1128662..c370ea0 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -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 |