aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-11-01 14:45:51 -0400
committerDJ Delorie <dj@gcc.gnu.org>2010-11-01 14:45:51 -0400
commitd0d7f522e8ae999d4d31b9906626f87209785811 (patch)
tree08b06a80ba1b77dbf773d2988068f5616ff6fa13
parentc6d3802a2ff97169d47cb701745a7871c758bad4 (diff)
downloadgcc-d0d7f522e8ae999d4d31b9906626f87209785811.zip
gcc-d0d7f522e8ae999d4d31b9906626f87209785811.tar.gz
gcc-d0d7f522e8ae999d4d31b9906626f87209785811.tar.bz2
rx.h (TARGET_CPU_CPP_BUILTINS): Add define for RX610 as well as an assertion.
* config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add define for RX610 as well as an assertion. From-SVN: r166138
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rx/rx.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c267b92..89a214b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-01 DJ Delorie <dj@redhat.com>
+
+ * config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add define for RX610
+ as well as an assertion.
+
2010-11-01 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.c (pdp11_return_in_memory): Return vector and
diff --git a/gcc/config/rx/rx.h b/gcc/config/rx/rx.h
index f320beb..5f89ebe 100644
--- a/gcc/config/rx/rx.h
+++ b/gcc/config/rx/rx.h
@@ -25,7 +25,10 @@
builtin_define ("__RX__"); \
builtin_assert ("cpu=RX"); \
if (rx_cpu_type == RX610) \
- builtin_assert ("machine=RX610"); \
+ { \
+ builtin_define ("__RX610__"); \
+ builtin_assert ("machine=RX610"); \
+ } \
else \
builtin_assert ("machine=RX600"); \
\