diff mbox

Commit: Define __v850e__ when compiling for the V850E.

Message ID m3pqlv8yw2.fsf@redhat.com
State New
Headers show

Commit Message

Nick Clifton June 30, 2011, 9:14 a.m. UTC
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  <nickc@redhat.com>

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

Patch

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__}"