From 94690433ea406b78f0ec5f05e87cf4b6415025f9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 Aug 2006 21:56:54 +0000 Subject: 2006-08-10 Joel Sherrill * cpu.c, rtems/score/sh.h: Recognize sh2e variant so multilibs will all compile. --- cpukit/score/cpu/sh/rtems/score/sh.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/sh/rtems/score/sh.h') diff --git a/cpukit/score/cpu/sh/rtems/score/sh.h b/cpukit/score/cpu/sh/rtems/score/sh.h index 98ddcf6997..b19855abe1 100644 --- a/cpukit/score/cpu/sh/rtems/score/sh.h +++ b/cpukit/score/cpu/sh/rtems/score/sh.h @@ -46,7 +46,8 @@ extern "C" { * predefines. */ -#if defined(__SH3E__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__) +#if defined(__SH2E__) || defined(__SH3E__) || \ + defined(__SH4__) || defined(__SH4_SINGLE_ONLY__) /* * Define this if you want to use XD-registers. @@ -63,7 +64,7 @@ extern "C" { #define SH_HAS_FPU 0 #endif -#elif defined(__sh1__) || defined(__sh2__) || defined(__sh3__) +#elif defined(__sh1__) || defined(__sh2__) || defined(__sh3__) #define SH_HAS_FPU 0 #else #warning Cannot detect FPU support, assuming no FPU -- cgit v1.2.3