Hi Guys,

  I am applying the following patch to the V850 backend.  It adds a
  preprocessor definition of the symbol __v850e__ when compiling for the
  V850E architecture variant.

Cheers
  Nick

gcc/ChangeLog
2011-06-30  Nick Clifton  <ni...@redhat.com>

        * config/v850/v850.h (CPP_SPEC): Define __v850e__ when compiling
        for the V850E.

Index: gcc/config/v850/v850.h
===================================================================
--- gcc/config/v850/v850.h      (revision 175681)
+++ gcc/config/v850/v850.h      (working copy)
@@ -95,6 +95,7 @@
   %{mv850e2:-D__v850e2__} \
   %{mv850es:-D__v850e1__} \
   %{mv850e1:-D__v850e1__} \
+  %{mv850e:-D__v850e__} \
   %{mv850:-D__v850__} \
   %(subtarget_cpp_spec)" \
   " %{mep:-D__EP__}"

Reply via email to