Build breakage with thumb2

2013-04-02 Thread Will Newton
Hi all, It looks like the below patch breaks the build when the compiler defines __thumb2__. I don't see how this patch was intended to work - arm_asm.h does not define __USE_BX__ and it does not seem suitable to include in C files. I would suggest the patch is reverted. commit 3862c65a05983b2b18

Re: Bug in _scanf.c

2013-04-02 Thread Will Newton
On Fri, Mar 29, 2013 at 5:25 PM, Pirmin Walthert wrote: > That's ok for me (as the most important thing is not to have a regression in > the next release) but in fact the first of the following patches would have > been enough to fix the bug. However the second patch would have been the > preferr

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

2013-04-02 Thread Will Newton
The conditional load needs to be made part of an IT block on Thumb2 cores. Signed-off-by: Will Newton --- 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/sy