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

Will Newton will.newton at gmail.com
Tue Apr 2 12:56:00 UTC 2013


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

Signed-off-by: Will Newton <will.newton at linaro.org>
---
 libc/sysdeps/linux/arm/clone.S | 1 +
 1 file changed, 1 insertion(+)

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)
-- 
1.8.1.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-arm-clone.S-Add-missing-IT-instruction-for-Thumb2.patch
Type: application/octet-stream
Size: 757 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20130402/88883567/attachment.obj>


More information about the uClibc mailing list