[rtems commit] arm: Fix DEFINE_FUNCTION_ARM() for ARMv7-AR
Sebastian Huber
sebh at rtems.org
Fri May 3 15:29:26 UTC 2013
Module: rtems
Branch: master
Commit: 57c05b54a3779d5230a21e141814df639b8c72d7
Changeset: http://git.rtems.org/rtems/commit/?id=57c05b54a3779d5230a21e141814df639b8c72d7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri May 3 16:07:34 2013 +0200
arm: Fix DEFINE_FUNCTION_ARM() for ARMv7-AR
---
cpukit/score/cpu/arm/rtems/asm.h | 2 +-
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 e000928..d4e4283 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__)
More information about the vc
mailing list