summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-26 19:59:28 +0000
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-26 19:59:28 +0000
commit321cd1556ae4c0dea30bbbbc247c006e36258d53 (patch)
treeeca1cb05f157ae3f417e7ec4361164c5539b1e7a
parent5178531ad902228ea7c215418e82b8d68814518e (diff)
downloadppe42-gcc-321cd1556ae4c0dea30bbbbc247c006e36258d53.tar.gz
ppe42-gcc-321cd1556ae4c0dea30bbbbc247c006e36258d53.zip
* config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78520 138bc75d-0d04-0410-961f-82ee72b054a4
-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 7818fed3841..71de5f74579 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 4665786a87e..06df746e71b 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) \
OpenPOWER on IntegriCloud