alpha: Require kernel version 2.6.0.

The minimum version that supports TLS.  Also avoids having to
fix the build for ancient __ASSUME_* settings.
This commit is contained in:
Richard Henderson 2012-02-08 11:43:50 -08:00
parent f81b9186ff
commit fe7b738e7a
4 changed files with 30 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2012-02-08 Richard Henderson <rth@twiddle.net>
* sysdeps/unix/sysv/linux/alpha/configure.in: New file.
* sysdeps/unix/sysv/linux/alpha/configure: Build.
* sysdeps/unix/sysv/linux/alpha/kernel-features.h: Protect from
multiple includes. Disable statfs64 entirely.
* sysdeps/alpha/nptl/tls.h: Don't test HAVE_TLS_SUPPORT.
* sysdeps/unix/alpha/sysdep.h: Don't test HAVE___THREAD.
* sysdeps/alpha/elf/configure.in (libc_cv_alpha_tls): Error out if

View File

@ -0,0 +1,8 @@
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
# Local configure fragment for sysdeps/unix/sysv/linux/alpha
# There are several bits that no longer compile cleanly without
# realtime signal support (ver 2.2.0). Given that we also now
# require TLS (ver 2.6.0), it seems pointless to fix them.
# ??? Surely this should now be the generic default.
arch_minimum_kernel=2.6.0

View File

@ -0,0 +1,8 @@
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local configure fragment for sysdeps/unix/sysv/linux/alpha
# There are several bits that no longer compile cleanly without
# realtime signal support (ver 2.2.0). Given that we also now
# require TLS (ver 2.6.0), it seems pointless to fix them.
# ??? Surely this should now be the generic default.
arch_minimum_kernel=2.6.0

View File

@ -18,6 +18,9 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#ifndef _KERNEL_FEATURES_H
#define _KERNEL_FEATURES_H 1
/* alpha switched to a 64-bit timeval sometime before 2.2.0. */
#if __LINUX_KERNEL_VERSION >= 131584
# define __ASSUME_TIMEVAL64 1
@ -96,3 +99,9 @@
#if __LINUX_KERNEL_VERSION < 0x020621
# undef __ASSUME_FALLOCATE
#endif
/* There never has been support for fstat64. */
#undef __ASSUME_STATFS64
#define __ASSUME_STATFS64 0
#endif /* _KERNEL_FEATURES_H */