From: DJ Delorie Date: Mon, 1 Nov 2010 18:45:51 +0000 (-0400) Subject: rx.h (TARGET_CPU_CPP_BUILTINS): Add define for RX610 as well as an assertion. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0d7f522e8ae999d4d31b9906626f87209785811;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c267b92630c..89a214bc0c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-11-01 DJ Delorie + + * config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add define for RX610 + as well as an assertion. + 2010-11-01 Paul Koning * 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 f320beb260a..5f89ebec21c 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"); \ \