mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
139ace9575
As per the recent discussion, this patch implements a requirement for Linux 3.2 or later for x86 and x86_64. This is only the initial change to increase the configured minimum; it's expected that followup patches would deal with associated removal of conditionals that are no longer needed. If we remove the start-up test on the kernel version, of course the NEWS and README text should then be revised (to reflect that this version is just one such that glibc does not intend to include compatibility code for any older kernel version, rather than older kernels necessarily failing to work or glibc necessarily having compatibility code for newer interfaces). The followups would be able to assume presence of getcpu (x86_64), recvmmsg (not always through its own syscall, sometimes only through socketcall), sendmmsg (likewise), /proc/$pid/task/$tid/comm, f_flags from statfs, prlimit64. Tested for x86_64 and x86. * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel): Remove. * sysdeps/unix/sysv/linux/i386/configure: Regenerated. * sysdeps/unix/sysv/linux/x86_64/64/configure.ac (arch_minimum_kernel): Remove. * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated. * README: Update statement about Linux kernel requirements.
23 lines
747 B
Plaintext
23 lines
747 B
Plaintext
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
|
# Local configure fragment for sysdeps/unix/sysv/linux/i386.
|
|
|
|
# Check if CFLAGS allows compiler to use ebp register in inline assembly.
|
|
AC_CACHE_CHECK([if compiler flags allows ebp in inline assembly],
|
|
libc_cv_can_use_register_asm_ebp, [
|
|
AC_COMPILE_IFELSE(
|
|
[AC_LANG_PROGRAM([
|
|
void foo (int i)
|
|
{
|
|
register int reg asm ("ebp") = i;
|
|
asm ("# %0" : : "r" (reg));
|
|
}])],
|
|
[libc_cv_can_use_register_asm_ebp=yes],
|
|
[libc_cv_can_use_register_asm_ebp=no])
|
|
])
|
|
if test $libc_cv_can_use_register_asm_ebp = yes; then
|
|
AC_DEFINE(CAN_USE_REGISTER_ASM_EBP)
|
|
fi
|
|
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
|