diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-02-23 22:31:07 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-02-23 22:31:07 +0000 |
commit | f049d64a0bc3caf2bc665f3f3306756958b3b5d7 (patch) | |
tree | bb68e936f3688f53b36368310442c016316df577 /patches/glibc | |
parent | fd268ea38bc8448e841fde35fcd11740a32492bb (diff) | |
download | crosstool-ng-f049d64a0bc3caf2bc665f3f3306756958b3b5d7.tar.gz crosstool-ng-f049d64a0bc3caf2bc665f3f3306756958b3b5d7.tar.bz2 crosstool-ng-f049d64a0bc3caf2bc665f3f3306756958b3b5d7.zip |
On 20090220.0418+0100, Hugo Vincent <hugo.vincent@grcnz.com> wrote:
I'm using CTNG for some embedded Linux work on an ARM926ej-s, and when
updating to glibc 2_9, I needed to use the attached patch to get it to
build cleanly.
/trunk/patches/glibc/ports-2_9/100-arm_linux_tls.patch | 14 14 0 0 ++++++++++++++
1 file changed, 14 insertions(+)
Diffstat (limited to 'patches/glibc')
-rw-r--r-- | patches/glibc/ports-2_9/100-arm_linux_tls.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/glibc/ports-2_9/100-arm_linux_tls.patch b/patches/glibc/ports-2_9/100-arm_linux_tls.patch new file mode 100644 index 00000000..2bb058dd --- /dev/null +++ b/patches/glibc/ports-2_9/100-arm_linux_tls.patch @@ -0,0 +1,14 @@ +Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html + +diff -durN glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h +--- glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33 ++++ glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000 +@@ -28,6 +28,8 @@ + /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO. */ + #include <dl-sysdep.h> + ++#include <tls.h> ++ + /* For Linux we can use the system call table in the header file + /usr/include/asm/unistd.h + of the kernel. But these symbols do not follow the SYS_* syntax |