diff options
author | Jakub Jelinek <jakub@redhat.com> | 2000-03-06 19:14:48 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2000-03-06 19:14:48 +0100 |
commit | 6149cebb5271f69e7e12bb5bf874fb7f5a149084 (patch) | |
tree | 11f0b51b3ec5767cb6ef9ec5674167bafae548fd | |
parent | 0a8d66180c7acc2e53e62127c2de2a9a0a53dce2 (diff) | |
download | gcc-6149cebb5271f69e7e12bb5bf874fb7f5a149084.zip gcc-6149cebb5271f69e7e12bb5bf874fb7f5a149084.tar.gz gcc-6149cebb5271f69e7e12bb5bf874fb7f5a149084.tar.bz2 |
sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs to gas if it supports .register pseudo.
* config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
to gas if it supports .register pseudo.
From-SVN: r32366
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82f31b6..8fc53ee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -34,6 +34,9 @@ * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept floating point instructions for epilogue delay. + * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs + to gas if it supports .register pseudo. + 2000-03-06 Mark Mitchell <mark@codesourcery.com> * function.c (free_temps_for_rtl_expr): Don't free slots diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 58b465a..b720bf8 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -310,7 +310,11 @@ Unrecognized value in TARGET_CPU_DEFAULT. This is what GAS uses. Add %(asm_arch) to ASM_SPEC to enable. */ #define ASM_ARCH32_SPEC "-32" +#ifdef HAVE_AS_REGISTER_PSEUDO_OP +#define ASM_ARCH64_SPEC "-64 -no-undeclared-regs" +#else #define ASM_ARCH64_SPEC "-64" +#endif #define ASM_ARCH_DEFAULT_SPEC \ (DEFAULT_ARCH32_P ? ASM_ARCH32_SPEC : ASM_ARCH64_SPEC) |