summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/bits/arm_asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/arm/bits/arm_asm.h')
-rw-r--r--libc/sysdeps/linux/arm/bits/arm_asm.h2
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 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