1 commit 4f2bcda964d4fff56855e0c66198c9bcb682ea1e
2 Author: Will Newton <will.newton@linaro.org>
3 Date: Thu Aug 29 20:10:26 2013 +0100
5 ARM: Fix clone code when built for Thumb.
7 The mov lr, pc instruction will lose the Thumb bit from the return address
12 2013-08-30 Will Newton <will.newton@linaro.org>
15 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use blx
16 instead of mov lr, pc.
18 (cherry picked from commit 6b06ac56cdfc9293908724e51e827534e97819aa)
20 diff --git a/NEWS b/NEWS
21 index b023c30..f64fb82 100644
24 @@ -5,6 +5,12 @@ See the end for copying conditions.
25 Please send GNU C library bug reports via <http://sourceware.org/bugzilla/>
26 using `glibc' in the "product" field.
30 +* The following bugs are resolved with this release:
36 * The following bugs are resolved with this release:
37 diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
38 index 1e7a35c..54debd7 100644
39 --- a/ports/ChangeLog.arm
40 +++ b/ports/ChangeLog.arm
42 +2013-08-30 Will Newton <will.newton@linaro.org>
45 + * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use blx
46 + instead of mov lr, pc.
48 2013-07-03 Joseph Myers <joseph@codesourcery.com>
50 * sysdeps/arm/include/bits/setjmp.h [_ISOMAC] (JMP_BUF_REGLIST):
51 diff --git a/ports/sysdeps/unix/sysv/linux/arm/clone.S b/ports/sysdeps/unix/sysv/linux/arm/clone.S
52 index ce9c2a5..6e74fa7 100644
53 --- a/ports/sysdeps/unix/sysv/linux/arm/clone.S
54 +++ b/ports/sysdeps/unix/sysv/linux/arm/clone.S
55 @@ -93,8 +93,8 @@ PSEUDO_END (__clone)
65 @ and we are done, passing the return value through r0