summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/arm/rtems/asm.h')
-rw-r--r--cpukit/score/cpu/arm/rtems/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/arm/rtems/asm.h b/cpukit/score/cpu/arm/rtems/asm.h
index e0009285da..d4e4283d48 100644
--- a/cpukit/score/cpu/arm/rtems/asm.h
+++ b/cpukit/score/cpu/arm/rtems/asm.h
@@ -143,7 +143,7 @@
#define PUBLIC(sym) .globl SYM (sym)
#define EXTERN(sym) .globl SYM (sym)
-#if defined(__thumb2__)
+#if defined(ARM_MULTILIB_ARCH_V7M)
#define DEFINE_FUNCTION_ARM(name) \
.thumb_func ; .globl name ; name:
#elif defined(__thumb__)