summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2013-04-02 13:56:00 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-06-12 16:44:39 +0200
commit2d5f1c499ff459c869e904aab0fcb1c0c70a5ce0 (patch)
tree9c52f5c003d9a7431e1a0bb2ad4e41ae2fadd5fa /libc
parent536a0e3a05a0c7d9a4d741d9401c220900cf1e04 (diff)
arm/clone.S: Add missing IT instruction for Thumb2.
The conditional load needs to be made part of an IT block on Thumb2 cores. Signed-off-by: Will Newton <will.newton@linaro.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/arm/clone.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/clone.S b/libc/sysdeps/linux/arm/clone.S
index 98dde2210..e73ddb6a4 100644
--- a/libc/sysdeps/linux/arm/clone.S
+++ b/libc/sysdeps/linux/arm/clone.S
@@ -110,6 +110,7 @@ __clone:
ldr r4, [sp, #12]
DO_CALL (clone)
movs a1, a1
+ IT(t, ne)
ldmnefd sp!, {r4}
blt __error
IT(t, ne)