about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-12 20:32:01 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-12 20:32:01 +0000
commit177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee (patch)
tree14a7365c1e51d7195303a37d0b8fc17677a5b831 /sysdeps/unix/sysv/linux/kernel-features.h
parent68107ec092e7cc3fcd1f56edf9da8085cffed00d (diff)
downloadglibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.tar.gz
glibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.tar.xz
glibc-177d1ad3ac9aab9b8ae7e7f70c2c66b6bdb876ee.zip
Update.
2003-04-12  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug
	which mishandles loading of global object addresses in PIC.
	(THREAD_SETMEM_NC): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 168715e665..56b68ffb5a 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -289,3 +289,8 @@
 # define __ASSUME_NETLINK_SUPPORT	1
 #endif
 
+/* For x86, support for the sysenter instruction was available in
+   2.5.53.  */
+#if __LINUX_KERNEL_VERSION >= 132405 && defined __i386__
+# define __ASSUME_VSYSCALL	1
+#endif