diff options
Diffstat (limited to 'ports/sysdeps')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/kernel-features.h | 15 | ||||
-rwxr-xr-x | ports/sysdeps/unix/sysv/linux/am33/configure | 2 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/am33/configure.in | 2 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/arm/configure | 1 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/arm/configure.in | 1 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/arm/kernel-features.h | 4 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h | 6 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/hppa/nptl/configure | 5 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/hppa/nptl/configure.in | 5 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/m68k/configure | 1 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/m68k/configure.in | 1 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h | 8 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/mips/configure | 5 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/mips/configure.in | 5 |
14 files changed, 14 insertions, 47 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/kernel-features.h b/ports/sysdeps/unix/sysv/linux/alpha/kernel-features.h index 3eaa422..6f330b5 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/kernel-features.h @@ -20,23 +20,16 @@ #ifndef _KERNEL_FEATURES_H #define _KERNEL_FEATURES_H 1 -/* The tgkill syscall was introduced for alpha 2.6.0-test1 which unfortunately - cannot be distinguished from 2.6.0. */ -#if __LINUX_KERNEL_VERSION >= 132609 -# define __ASSUME_TGKILL 1 -#endif +/* The tgkill syscall was introduced for alpha 2.6.0-test1. */ +#define __ASSUME_TGKILL 1 /* Starting with version 2.6.4, the stat64 syscalls are available. */ -#if __LINUX_KERNEL_VERSION >= 0x020604 && defined __alpha__ -# define __ASSUME_STAT64_SYSCALL 1 -#endif +#define __ASSUME_STAT64_SYSCALL 1 #define __ASSUME_UTIMES 1 /* Starting with version 2.6.9, SSI_IEEE_RAISE_EXCEPTION exists. */ -#if __LINUX_KERNEL_VERSION >= 0x020609 -# define __ASSUME_IEEE_RAISE_EXCEPTION 1 -#endif +#define __ASSUME_IEEE_RAISE_EXCEPTION 1 /* Support for the O_CLOEXEC flag was added for alpha in 2.6.23. */ #if __LINUX_KERNEL_VERSION >= 0x020617 diff --git a/ports/sysdeps/unix/sysv/linux/am33/configure b/ports/sysdeps/unix/sysv/linux/am33/configure index d449012..870c6a7 100755 --- a/ports/sysdeps/unix/sysv/linux/am33/configure +++ b/ports/sysdeps/unix/sysv/linux/am33/configure @@ -1,4 +1,4 @@ # This file is generated from configure.in by Autoconf. DO NOT EDIT! # Local configure fragment for am33/sysdeps/unix/sysv/linux/am33 -arch_minimum_kernel=2.4.0 +arch_minimum_kernel=2.6.25 diff --git a/ports/sysdeps/unix/sysv/linux/am33/configure.in b/ports/sysdeps/unix/sysv/linux/am33/configure.in index a94c370..43e33f7 100644 --- a/ports/sysdeps/unix/sysv/linux/am33/configure.in +++ b/ports/sysdeps/unix/sysv/linux/am33/configure.in @@ -1,4 +1,4 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. # Local configure fragment for am33/sysdeps/unix/sysv/linux/am33 -arch_minimum_kernel=2.4.0 +arch_minimum_kernel=2.6.25 diff --git a/ports/sysdeps/unix/sysv/linux/arm/configure b/ports/sysdeps/unix/sysv/linux/arm/configure index 5b5f4c9..cb94cc5 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/configure +++ b/ports/sysdeps/unix/sysv/linux/arm/configure @@ -1,6 +1,5 @@ # This file is generated from configure.in by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/arm. -arch_minimum_kernel=2.6.16 libc_cv_gcc_unwind_find_fde=no CFLAGS=${CFLAGS% -fno-unwind-tables} diff --git a/ports/sysdeps/unix/sysv/linux/arm/configure.in b/ports/sysdeps/unix/sysv/linux/arm/configure.in index b57c4e3..3e67dee 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/configure.in +++ b/ports/sysdeps/unix/sysv/linux/arm/configure.in @@ -1,6 +1,5 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. # Local configure fragment for sysdeps/unix/sysv/linux/arm. -arch_minimum_kernel=2.6.16 libc_cv_gcc_unwind_find_fde=no CFLAGS=${CFLAGS% -fno-unwind-tables} diff --git a/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h b/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h index 745bca8..b003b17 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h @@ -18,9 +18,7 @@ <http://www.gnu.org/licenses/>. */ /* The utimes syscall was added before 2.6.1. */ -#if __LINUX_KERNEL_VERSION >= 132609 -# define __ASSUME_UTIMES 1 -#endif +#define __ASSUME_UTIMES 1 /* On ARM the mmap2/stat64/lstat64/fstat64 syscalls were introduced in 2.3.35. */ diff --git a/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h b/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h index 13a3c01..49ba55f 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h @@ -1,6 +1,6 @@ /* Set flags signalling availability of kernel features based on given kernel version number. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,8 +30,6 @@ #define __ASSUME_GETDENTS64_SYSCALL 1 /* PA-RISC 2.6.9 kernels had the first LWS CAS support */ -#if __LINUX_KERNEL_VERSION >= 0x020609 -# define __ASSUME_LWS_CAS 1 -#endif +#define __ASSUME_LWS_CAS 1 #include_next <kernel-features.h> diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/configure b/ports/sysdeps/unix/sysv/linux/hppa/nptl/configure deleted file mode 100644 index a418c54..0000000 --- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/configure +++ /dev/null @@ -1,5 +0,0 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! - # Local configure fragment for sysdeps/unix/sysv/linux/hppa/nptl. - -# Needed for LWS CAS -arch_minimum_kernel=2.6.9 diff --git a/ports/sysdeps/unix/sysv/linux/hppa/nptl/configure.in b/ports/sysdeps/unix/sysv/linux/hppa/nptl/configure.in deleted file mode 100644 index 1c7102e..0000000 --- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/configure.in +++ /dev/null @@ -1,5 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/hppa/nptl. - -# Needed for LWS CAS -arch_minimum_kernel=2.6.9 diff --git a/ports/sysdeps/unix/sysv/linux/m68k/configure b/ports/sysdeps/unix/sysv/linux/m68k/configure index a2fd833..a704dac 100644 --- a/ports/sysdeps/unix/sysv/linux/m68k/configure +++ b/ports/sysdeps/unix/sysv/linux/m68k/configure @@ -1,7 +1,6 @@ # This file is generated from configure.in by Autoconf. DO NOT EDIT! case $machine in m68k/coldfire) - arch_minimum_kernel=2.6.10 ;; *) libc_cv_gcc_unwind_find_fde=yes diff --git a/ports/sysdeps/unix/sysv/linux/m68k/configure.in b/ports/sysdeps/unix/sysv/linux/m68k/configure.in index 6e91ef9..c21ca9d 100644 --- a/ports/sysdeps/unix/sysv/linux/m68k/configure.in +++ b/ports/sysdeps/unix/sysv/linux/m68k/configure.in @@ -2,7 +2,6 @@ sinclude(./aclocal.m4)dnl Autoconf lossage GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. case $machine in m68k/coldfire) - arch_minimum_kernel=2.6.10 ;; *) libc_cv_gcc_unwind_find_fde=yes diff --git a/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h b/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h index ed62453..3196cbb 100644 --- a/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h @@ -22,11 +22,9 @@ #define __ASSUME_STAT64_SYSCALL 1 /* Many syscalls were added in 2.6.10 for m68k. */ -#if __LINUX_KERNEL_VERSION >= 132618 -# define __ASSUME_TGKILL 1 -# define __ASSUME_UTIMES 1 -# define __ASSUME_FADVISE64_64_SYSCALL 1 -#endif +#define __ASSUME_TGKILL 1 +#define __ASSUME_UTIMES 1 +#define __ASSUME_FADVISE64_64_SYSCALL 1 #include_next <kernel-features.h> diff --git a/ports/sysdeps/unix/sysv/linux/mips/configure b/ports/sysdeps/unix/sysv/linux/mips/configure index 099014f..051432d 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/configure +++ b/ports/sysdeps/unix/sysv/linux/mips/configure @@ -30,7 +30,4 @@ case "$prefix" in esac esac -if test -z "$arch_minimum_kernel"; then - arch_minimum_kernel=2.6.12 - libc_cv_gcc_unwind_find_fde=yes -fi +libc_cv_gcc_unwind_find_fde=yes diff --git a/ports/sysdeps/unix/sysv/linux/mips/configure.in b/ports/sysdeps/unix/sysv/linux/mips/configure.in index 466a349..18e8bbc 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/configure.in +++ b/ports/sysdeps/unix/sysv/linux/mips/configure.in @@ -31,7 +31,4 @@ case "$prefix" in esac esac -if test -z "$arch_minimum_kernel"; then - arch_minimum_kernel=2.6.12 - libc_cv_gcc_unwind_find_fde=yes -fi +libc_cv_gcc_unwind_find_fde=yes |