summaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-18 07:22:28 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-18 07:22:28 +0000
commit1456900f867bea59f5c5d0868b38b820012dd72c (patch)
treebc01bbfa4a12b8f29cf3d97a4d52fb97bdfd9cbd /gcc/config/sparc
parent235d6ed0444726853168aa28858379745788730d (diff)
downloadgcc-1456900f867bea59f5c5d0868b38b820012dd72c.tar.gz
* config/sparc/sol2.h (TARGET_DEFAULT): Add back MASK_APP_REGS.
* config/sparc/sol2-64.h (TARGET_DEFAULT): Likewise. * config/sparc/sp-elf.h (TARGET_DEFAULT): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99885 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sol2-64.h2
-rw-r--r--gcc/config/sparc/sol2.h3
-rw-r--r--gcc/config/sparc/sp-elf.h3
3 files changed, 3 insertions, 5 deletions
diff --git a/gcc/config/sparc/sol2-64.h b/gcc/config/sparc/sol2-64.h
index 2a15f3db51a..d0dd284daf0 100644
--- a/gcc/config/sparc/sol2-64.h
+++ b/gcc/config/sparc/sol2-64.h
@@ -4,4 +4,4 @@
#undef TARGET_DEFAULT
#define TARGET_DEFAULT \
(MASK_V9 + MASK_PTR64 + MASK_64BIT /* + MASK_HARD_QUAD */ + \
- MASK_STACK_BIAS + MASK_FPU + MASK_LONG_DOUBLE_128)
+ MASK_STACK_BIAS + MASK_APP_REGS + MASK_FPU + MASK_LONG_DOUBLE_128)
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index 12cd24fccae..1c68133a8c9 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -148,7 +148,8 @@ Boston, MA 02111-1307, USA. */
/* Solaris allows 64 bit out and global registers in 32 bit mode.
sparc_override_options will disable V8+ if not generating V9 code. */
#undef TARGET_DEFAULT
-#define TARGET_DEFAULT (MASK_V8PLUS + MASK_FPU + MASK_LONG_DOUBLE_128)
+#define TARGET_DEFAULT (MASK_V8PLUS + MASK_APP_REGS + MASK_FPU \
+ + MASK_LONG_DOUBLE_128)
/* Solaris-specific #pragmas are implemented on top of attributes. Hook in
the bits from config/sol2.c. */
diff --git a/gcc/config/sparc/sp-elf.h b/gcc/config/sparc/sp-elf.h
index b261299058c..b77a6e2b5ff 100644
--- a/gcc/config/sparc/sp-elf.h
+++ b/gcc/config/sparc/sp-elf.h
@@ -22,9 +22,6 @@ Boston, MA 02111-1307, USA. */
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (sparc-elf)")
-#undef TARGET_DEFAULT
-#define TARGET_DEFAULT MASK_FPU
-
/* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C