summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/asm.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-05-03 16:07:34 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-05-03 17:30:54 +0200
commit57c05b54a3779d5230a21e141814df639b8c72d7 (patch)
treead649d9d8e49393fa1b384fc6db5049061498b99 /cpukit/score/cpu/arm/rtems/asm.h
parentlibtests/malloc04: Adjust for new sbrk() support (diff)
downloadrtems-57c05b54a3779d5230a21e141814df639b8c72d7.tar.bz2
arm: Fix DEFINE_FUNCTION_ARM() for ARMv7-AR
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__)