OSDN Git Service

* config/sparc/sparc.h: Define sparc for now.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 May 2003 20:02:36 +0000 (20:02 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 May 2003 20:02:36 +0000 (20:02 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66938 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sparc/sparc.h

index 47ea0f7..fab4c22 100644 (file)
@@ -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.
index 0531148..3ec9cde 100644 (file)
@@ -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");       \