mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-28 16:48:52 +00:00
008b7a4585
/trunk/patches/glibc/ports-2.9/100-arm_linux_tls.patch | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
15 lines
688 B
Diff
15 lines
688 B
Diff
Original patch from http://www.nabble.com/arm-linux-compilation-failure-and-possible-fix-td19229074.html
|
|
|
|
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
|
|
--- glibc-2.9.orig/ports/sysdeps/unix/sysv/linux/arm/sysdep.h 25 Nov 2008 16:37:26 -0000 1.33
|
|
+++ glibc-2.9/ports/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
|