Message ID | 201010290613.o9T6Dmeq032026@greed.delorie.com |
---|---|
State | New |
Headers | show |
On 10/28/2010 11:13 PM, DJ Delorie wrote: > If you try to use assertions, gcc complains that they're deprecated, > but the RX610 is missing some opcodes. This adds a #define for that > chip as well. Ok? > > * config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add define for > RX610 as well as an assertion. Ok. r~
> > * config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add define for > > RX610 as well as an assertion. > > Ok. Thanks, committed.
Index: rx.h =================================================================== --- rx.h (revision 166029) +++ rx.h (working copy) @@ -22,13 +22,16 @@ #define TARGET_CPU_CPP_BUILTINS() \ do \ { \ 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"); \ \ if (TARGET_BIG_ENDIAN_DATA) \ builtin_define ("__RX_BIG_ENDIAN__"); \ else \