patches/glibc/ports-2_9/100-arm_linux_tls.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Mar 03 17:50:53 2009 +0000 (2009-03-03)
changeset 1220 63d8500c8fc1
permissions -rw-r--r--
Some eye-candy in the toolchain sub-menu entries.

/trunk/config/toolchain.in | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
     1 Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
     2 
     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
     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
     5 +++ glibc-2_9/glibc-ports-2_9/sysdeps/unix/sysv/linux/arm/sysdep.h 27 Jan 2009 15:35:38 -0000
     6 @@ -28,6 +28,8 @@
     7  /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO.  */
     8  #include <dl-sysdep.h>
     9  
    10 +#include <tls.h>
    11 +
    12  /* For Linux we can use the system call table in the header file
    13 	/usr/include/asm/unistd.h
    14     of the kernel.  But these symbols do not follow the SYS_* syntax