rx.h (TARGET_CPU_CPP_BUILTINS): Add define for RX610 as well as an assertion.
authorDJ Delorie <dj@redhat.com>
Mon, 1 Nov 2010 18:45:51 +0000 (14:45 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 1 Nov 2010 18:45:51 +0000 (14:45 -0400)
* config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add define for
RX610 as well as an assertion.

From-SVN: r166138

gcc/ChangeLog
gcc/config/rx/rx.h

index c267b92630c6d86980903500f3262f70ca2b4fec..89a214bc0c29ce925863af20f4742bb2504e8c9d 100644 (file)
@@ -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
index f320beb260ac87f37c07863d8c086e12ed3d55f6..5f89ebec21c3983495a88a51cb4744b57e9993e2 100644 (file)
       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");      \
                                                \