summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sh/rtems/score/sh.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-10 21:56:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-10 21:56:54 +0000
commit94690433ea406b78f0ec5f05e87cf4b6415025f9 (patch)
treed78932dbe4c13fa4044b9f035a57a67ed08c1a56 /cpukit/score/cpu/sh/rtems/score/sh.h
parent2006-08-10 Joel Sherrill <joel@oarcorp.com> (diff)
downloadrtems-94690433ea406b78f0ec5f05e87cf4b6415025f9.tar.bz2
2006-08-10 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/sh.h: Recognize sh2e variant so multilibs will all compile.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/sh/rtems/score/sh.h5
1 files changed, 3 insertions, 2 deletions
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