aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2004-02-26 19:59:28 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2004-02-26 19:59:28 +0000
commit48c0150c2318a3c1b0f00d45017733fa89d7a9d0 (patch)
treeeca1cb05f157ae3f417e7ec4361164c5539b1e7a /gcc
parentf57db409bc0a3da9ec6e59ce72681612f7fe74ae (diff)
downloadgcc-48c0150c2318a3c1b0f00d45017733fa89d7a9d0.zip
gcc-48c0150c2318a3c1b0f00d45017733fa89d7a9d0.tar.gz
gcc-48c0150c2318a3c1b0f00d45017733fa89d7a9d0.tar.bz2
* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
From-SVN: r78520
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/xtensa/xtensa.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7818fed..71de5f7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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'.
diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h
index 4665786..06df746 100644
--- a/gcc/config/xtensa/xtensa.h
+++ b/gcc/config/xtensa/xtensa.h
@@ -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) \