patches/glibc/ports-2_9/100-arm_linux_tls.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Mar 04 17:59:35 2009 +0000 (2009-03-04)
changeset 1225 4b065e7e2130
permissions -rw-r--r--
Move do_finish from scripts/functions to its own file in scipts/build/internals.sh.

/trunk/scripts/build/internals.sh | 907 4 903 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 8 4 4 0
/trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 +
/trunk/scripts/functions | 48 0 48 0 --
4 files changed, 9 insertions(+), 955 deletions(-)
yann@1216
     1
Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
yann@1216
     2
yann@1216
     3
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
yann@1216
     4
--- glibc-2_9.orig/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33
yann@1216
     5
+++ glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000
yann@1216
     6
@@ -28,6 +28,8 @@
yann@1216
     7
 /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO.  */
yann@1216
     8
 #include <dl-sysdep.h>
yann@1216
     9
 
yann@1216
    10
+#include <tls.h>
yann@1216
    11
+
yann@1216
    12
 /* For Linux we can use the system call table in the header file
yann@1216
    13
	/usr/include/asm/unistd.h
yann@1216
    14
    of the kernel.  But these symbols do not follow the SYS_* syntax