summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/c4x/rtems
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/c4x/rtems
parent399c2e5d5a4cdcfb985e28295ce50c940a5a3e37 (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/c4x/rtems')
-rw-r--r--c/src/exec/score/cpu/c4x/rtems/score/c4x.h13
1 files changed, 8 insertions, 5 deletions
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