patches/glibc/ports-2.9/100-arm_linux_tls.patch
author danielrubiob@gmail.com
Tue Feb 11 21:34:48 2014 +0100 (2014-02-11)
changeset 3285 a8cb9039fade
parent 1273 33f0fcab7f03
permissions -rw-r--r--
complibs/cloog: bump version

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
[yann.morin.1998@free.fr: re-order versions]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
Message-Id: <c2de3964cd6d5e4173cc.1391984023@uemo>
Patchwork-Id: 318637
     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/ports/sysdeps/unix/sysv/linux/arm/sysdep.h glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/sysdep.h
     4 --- glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33
     5 +++ glibc-2.9/ports/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