crosstool-ng/patches/glibc/2.6/190-alpha-atfcts.patch
Yann E. MORIN" 2263510b7a New patches to make glibc 2.6 and 2.6.1 build for Alpha.
Forwarded by Ioannis E. VENETIS.

 /trunk/patches/glibc/2.6.1/200-alpha-ptr_mangle.patch        |  103   103     0     0 ++++++++
 /trunk/patches/glibc/2.6.1/190-alpha-atfcts.patch            |   11    11     0     0 +
 /trunk/patches/glibc/2.6.1/180-gcc-4.3-sysinclude-path.patch |   50    50     0     0 ++++
 /trunk/patches/glibc/2.6.1/210-lll_lock_t.patch              |  237   237     0     0 ++++++++++++++++++
 /trunk/patches/glibc/2.6/200-alpha-ptr_mangle.patch          |  103   103     0     0 ++++++++
 /trunk/patches/glibc/2.6/190-alpha-atfcts.patch              |   11    11     0     0 +
 /trunk/patches/glibc/2.6/180-gcc-4.3-sysinclude-path.patch   |   50    50     0     0 ++++
 /trunk/patches/glibc/2.6/210-lll_lock_t.patch                |  237   237     0     0 ++++++++++++++++++
 /trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch        |  156   156     0     0 ++++++++++++
 9 files changed, 958 insertions(+)
2008-07-28 21:59:40 +00:00

12 lines
516 B
Diff

--- glibc-2.6/sysdeps/unix/sysv/linux/kernel-features.h 2006-07-29 07:43:27.000000000 +0300
+++ glibc-2.6/sysdeps/unix/sysv/linux/kernel-features.h.new 2008-07-26 08:45:06.000000000 +0300
@@ -445,7 +445,7 @@
/* The *at syscalls were introduced just after 2.6.16-rc1. Due to the way the
kernel versions are advertised we can only rely on 2.6.17 to have
the code. */
-#if __LINUX_KERNEL_VERSION >= 0x020611
+#if __LINUX_KERNEL_VERSION >= 0x020611 && !defined __alpha__
# define __ASSUME_ATFCTS 1
#endif