summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/score/arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/arm/rtems/score/arm.h')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/arm.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/arm.h b/cpukit/score/cpu/arm/rtems/score/arm.h
index 5c47e4c617..c0a7c8bb54 100644
--- a/cpukit/score/cpu/arm/rtems/score/arm.h
+++ b/cpukit/score/cpu/arm/rtems/score/arm.h
@@ -44,40 +44,52 @@ extern "C" {
*/
#if defined(__ARM_ARCH_4__)
# define CPU_MODEL_NAME "ARMv4"
+# define ARM_MULTILIB_ARCH_V4
#elif defined(__ARM_ARCH_4T__)
# define CPU_MODEL_NAME "ARMv4T"
+# define ARM_MULTILIB_ARCH_V4
#elif defined(__ARM_ARCH_5__)
# define CPU_MODEL_NAME "ARMv5"
+# define ARM_MULTILIB_ARCH_V4
#elif defined(__ARM_ARCH_5T__)
# define CPU_MODEL_NAME "ARMv5T"
+# define ARM_MULTILIB_ARCH_V4
#elif defined(__ARM_ARCH_5E__)
# define CPU_MODEL_NAME "ARMv5E"
+# define ARM_MULTILIB_ARCH_V4
#elif defined(__ARM_ARCH_5TE__)
# define CPU_MODEL_NAME "ARMv5TE"
+# define ARM_MULTILIB_ARCH_V4
#elif defined(__ARM_ARCH_5TEJ__)
# define CPU_MODEL_NAME "ARMv5TEJ"
+# define ARM_MULTILIB_ARCH_V4
#elif defined(__ARM_ARCH_6J__)
# define CPU_MODEL_NAME "ARMv6J"
#elif defined(__ARM_ARCH_6M__)
# define CPU_MODEL_NAME "ARMv6M"
+# define ARM_MULTILIB_ARCH_V7M
#elif defined(__ARM_ARCH_7__)
# define CPU_MODEL_NAME "ARMv7"
-#elif defined(__ARM_ARCH_7M__)
-# define CPU_MODEL_NAME "ARMv7M"
-
#elif defined(__ARM_ARCH_7A__)
# define CPU_MODEL_NAME "ARMv7A"
+#elif defined(__ARM_ARCH_7R__)
+# define CPU_MODEL_NAME "ARMv7R"
+
+#elif defined(__ARM_ARCH_7M__)
+# define CPU_MODEL_NAME "ARMv7M"
+# define ARM_MULTILIB_ARCH_V7M
+
#else
# error "Unsupported CPU Model"