From: Neil Booth Date: Sun, 18 May 2003 20:02:36 +0000 (+0000) Subject: * config/sparc/sparc.h: Define sparc for now. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=094a51ffd15616c1437d1a07ca7145ec0b13778c;p=gcc.git * config/sparc/sparc.h: Define sparc for now. From-SVN: r66938 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47ea0f7706f..fab4c227e6d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,6 @@ +2003-05-18 Neil Booth + + * config/sparc/sparc.h: Define sparc for now. 2003-05-18 Nathanael Nerode * 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 05311488e9d..3ec9cded6e8 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"); \