[git commit] arm/clone.S: Add missing IT instruction for Thumb2.

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Jun 12 14:44:39 UTC 2014

commit: http://git.uclibc.org/uClibc/commit/?id=2d5f1c499ff459c869e904aab0fcb1c0c70a5ce0
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

The conditional load needs to be made part of an IT block on Thumb2

Signed-off-by: Will Newton <will.newton at linaro.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
 libc/sysdeps/linux/arm/clone.S |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/arm/clone.S b/libc/sysdeps/linux/arm/clone.S
index 98dde22..e73ddb6 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)

More information about the uClibc-cvs mailing list