summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-02-27 21:45:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-02-27 21:45:19 +0000
commit2433bcaf864e25bcf30a6d36f98e1d60484baa0a (patch)
treef426c9a67c5ad59ba8ef77420827d140ba4dd607 /cpukit
parent7f87dd34db9e8bb4a8a8ae594ecf08179538d99e (diff)
downloadrtems-2433bcaf864e25bcf30a6d36f98e1d60484baa0a.tar.bz2
2001-02-27 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Fix conditional to match current GCC.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/or32/ChangeLog4
-rw-r--r--cpukit/score/cpu/or32/rtems/score/or32.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/or32/ChangeLog b/cpukit/score/cpu/or32/ChangeLog
index 9c06886ff5..36dfd53e71 100644
--- a/cpukit/score/cpu/or32/ChangeLog
+++ b/cpukit/score/cpu/or32/ChangeLog
@@ -1,3 +1,7 @@
+2001-02-27 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/cpu.h: Fix conditional to match current GCC.
+
2001-02-05 Joel Sherrill <joel@OARcorp.com>
* rtems/Makefile.am, rtems/score/Makefile.am: Removed again.
diff --git a/cpukit/score/cpu/or32/rtems/score/or32.h b/cpukit/score/cpu/or32/rtems/score/or32.h
index 69750cdabf..1aadcfc286 100644
--- a/cpukit/score/cpu/or32/rtems/score/or32.h
+++ b/cpukit/score/cpu/or32/rtems/score/or32.h
@@ -45,7 +45,7 @@ extern "C" {
#define CPU_MODEL_NAME "rtems_multilib"
#define OR32_HAS_FPU 1
-#elif defined(or32)
+#elif defined(__or1k__) || defined(__OR1K__)
#define CPU_MODEL_NAME "or32_model"
#define OR32_HAS_FPU 1