[git commit] libc: add guard for arm thumb2 asm
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Jan 15 09:01:25 UTC 2014
commit: http://git.uclibc.org/uClibc/commit/?id=f7db1709ab9785302b00e9671f9c652f4fac6851
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Fixes gen_lowlevelrobustlock on thumb2
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/sysdeps/linux/arm/bits/arm_asm.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libc/sysdeps/linux/arm/bits/arm_asm.h b/libc/sysdeps/linux/arm/bits/arm_asm.h
index 921c9a3..14d2634 100644
--- a/libc/sysdeps/linux/arm/bits/arm_asm.h
+++ b/libc/sysdeps/linux/arm/bits/arm_asm.h
@@ -3,8 +3,10 @@
#define _ARM_ASM_H
#ifdef __thumb2__
+# ifdef __ASSEMBLER__
.thumb
.syntax unified
+# endif /* __ASSEMBLER__ */
#define IT(t, cond) i##t cond
#else
/* XXX: This can be removed if/when we require an assembler that supports
More information about the uClibc-cvs
mailing list