summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-18 12:57:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-18 12:57:00 +0000
commit38e5a9f02176844b93bf5efd52cf75ece8368199 (patch)
tree62b232fb81f07aaf5b493dbacfa0932ba3cf76fe /c/src/exec/score/cpu
parent2000-10-18 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-38e5a9f02176844b93bf5efd52cf75ece8368199.tar.bz2
2000-10-18 Joel Sherrill <joel@OARcorp.com>
* rtems/score/c4x.h: Modified to properly multilib. This required using only macros predefined by gcc.
Diffstat (limited to 'c/src/exec/score/cpu')
-rw-r--r--c/src/exec/score/cpu/c4x/ChangeLog5
-rw-r--r--c/src/exec/score/cpu/c4x/rtems/score/c4x.h13
2 files changed, 13 insertions, 5 deletions
diff --git a/c/src/exec/score/cpu/c4x/ChangeLog b/c/src/exec/score/cpu/c4x/ChangeLog
index 097f60baaf..2e332b65d6 100644
--- a/c/src/exec/score/cpu/c4x/ChangeLog
+++ b/c/src/exec/score/cpu/c4x/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-18 Joel Sherrill <joel@OARcorp.com>
+
+ * rtems/score/c4x.h: Modified to properly multilib. This required
+ using only macros predefined by gcc.
+
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am, formatting.
diff --git a/c/src/exec/score/cpu/c4x/rtems/score/c4x.h b/c/src/exec/score/cpu/c4x/rtems/score/c4x.h
index d3ef758693..757b8ea012 100644
--- a/c/src/exec/score/cpu/c4x/rtems/score/c4x.h
+++ b/c/src/exec/score/cpu/c4x/rtems/score/c4x.h
@@ -31,19 +31,22 @@ extern "C" {
* of the family.
*/
-#if defined(c30)
+#if defined(_C30)
#define CPU_MODEL_NAME "C30"
-#elif defined(c31)
+#elif defined(_C31)
#define CPU_MODEL_NAME "C31"
-#elif defined(c32)
+#elif defined(_C32)
#define CPU_MODEL_NAME "C32"
-#elif defined(c40)
+#elif defined(_C33)
+#define CPU_MODEL_NAME "C33"
+
+#elif defined(_C40)
#define CPU_MODEL_NAME "C40"
-#elif defined(c44)
+#elif defined(_C44)
#define CPU_MODEL_NAME "C44"
#else