diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-05-18 20:02:36 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-05-18 20:02:36 +0000 |
commit | 094a51ffd15616c1437d1a07ca7145ec0b13778c (patch) | |
tree | 88552572ffd689054491f6348befde19ec79f434 | |
parent | 563025ca97c9cbfa1cf3a6edc3bb671779ec4860 (diff) | |
download | gcc-094a51ffd15616c1437d1a07ca7145ec0b13778c.zip gcc-094a51ffd15616c1437d1a07ca7145ec0b13778c.tar.gz gcc-094a51ffd15616c1437d1a07ca7145ec0b13778c.tar.bz2 |
* config/sparc/sparc.h: Define sparc for now.
From-SVN: r66938
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47ea0f7..fab4c22 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,6 @@ +2003-05-18 Neil Booth <neil@daikokuya.co.uk> + + * config/sparc/sparc.h: Define sparc for now. 2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org> * config.gcc: Clear xm_file, md_file at the beginning of each pass. diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 0531148..3ec9cde 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -25,11 +25,13 @@ Boston, MA 02111-1307, USA. */ /* Note that some other tm.h files include this one and then override whatever definitions are necessary. */ -/* Target CPU builtins. */ +/* Target CPU builtins. FIXME: Defining sparc is for the benefit of + Solaris only; otheriwse just define __sparc__. Sadly the headers + are such a mess there is no Solaris-specific header. */ #define TARGET_CPU_CPP_BUILTINS() \ do \ { \ - builtin_define ("__sparc__"); \ + builtin_define_std ("sparc"); \ if (TARGET_64BIT) \ { \ builtin_assert ("cpu=sparc"); \ |