patches/glibc/ports-2.9/100-arm_linux_tls.patch
branchnewlib
changeset 1365 c4d124ed9f8e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/ports-2.9/100-arm_linux_tls.patch	Sun Apr 19 16:17:11 2009 +0000
     1.3 @@ -0,0 +1,14 @@
     1.4 +Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
     1.5 +
     1.6 +diff -durN glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
     1.7 +--- glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33
     1.8 ++++ glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000
     1.9 +@@ -28,6 +28,8 @@
    1.10 + /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO.  */
    1.11 + #include <dl-sysdep.h>
    1.12 + 
    1.13 ++#include <tls.h>
    1.14 ++
    1.15 + /* For Linux we can use the system call table in the header file
    1.16 +	/usr/include/asm/unistd.h
    1.17 +    of the kernel.  But these symbols do not follow the SYS_* syntax