From f7db1709ab9785302b00e9671f9c652f4fac6851 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 11 Jan 2014 19:48:42 +0100 Subject: libc: add guard for arm thumb2 asm Fixes gen_lowlevelrobustlock on thumb2 Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/arm/bits/arm_asm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/arm') diff --git a/libc/sysdeps/linux/arm/bits/arm_asm.h b/libc/sysdeps/linux/arm/bits/arm_asm.h index 921c9a3c9..14d26341f 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 -- cgit v1.2.3