OSDN Git Service

* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2004 19:59:28 +0000 (19:59 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2004 19:59:28 +0000 (19:59 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78520 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/xtensa/xtensa.h

index 7818fed..71de5f7 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-26  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
+
 2004-02-26  Eric Botcazou  <ebotcazou@act-europe.fr>
 
        * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
index 4665786..06df746 100644 (file)
@@ -106,6 +106,7 @@ extern unsigned xtensa_current_frame_size;
   do {                                                                 \
     builtin_assert ("cpu=xtensa");                                     \
     builtin_assert ("machine=xtensa");                                 \
+    builtin_define ("__xtensa__");                                     \
     builtin_define ("__XTENSA__");                                     \
     builtin_define (TARGET_BIG_ENDIAN ? "__XTENSA_EB__" : "__XTENSA_EL__"); \
     if (!TARGET_HARD_FLOAT)                                            \