about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-02-09 21:46:35 +0000
committerRoland McGrath <roland@gnu.org>2004-02-09 21:46:35 +0000
commit42734314b12b7d75781076ccc8fd853a477f992e (patch)
tree0ec2b212e427eb84074be1d5299728bed4490033 /sysdeps
parent980aa979105be13b58a9fd1739e120a906335d55 (diff)
downloadglibc-42734314b12b7d75781076ccc8fd853a477f992e.tar.gz
glibc-42734314b12b7d75781076ccc8fd853a477f992e.tar.xz
glibc-42734314b12b7d75781076ccc8fd853a477f992e.zip
2003-12-05 Roland McGrath <roland@redhat.com>
	* sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old
	for vm86@GLIBC_2.0 version.  Add new vm86@GLIBC_2.3.4.
	* sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86.
	* sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/i386/Versions5
-rw-r--r--sysdeps/unix/sysv/linux/i386/sys/vm86.h5
-rw-r--r--sysdeps/unix/sysv/linux/i386/syscalls.list3
3 files changed, 10 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/Versions b/sysdeps/unix/sysv/linux/i386/Versions
index ef3c855089..abd1d152d7 100644
--- a/sysdeps/unix/sysv/linux/i386/Versions
+++ b/sysdeps/unix/sysv/linux/i386/Versions
@@ -34,8 +34,13 @@ libc {
     versionsort64;
   }
   GLIBC_2.3.3 {
+    # p*
     posix_fadvise64; posix_fallocate64;
   }
+  GLIBC_2.3.4 {
+    # v*
+    vm86;
+  }
   GLIBC_PRIVATE {
     __modify_ldt;
   }
diff --git a/sysdeps/unix/sysv/linux/i386/sys/vm86.h b/sysdeps/unix/sysv/linux/i386/sys/vm86.h
index 8faeed7f13..4c5152c2e0 100644
--- a/sysdeps/unix/sysv/linux/i386/sys/vm86.h
+++ b/sysdeps/unix/sysv/linux/i386/sys/vm86.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1999, 2003 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
@@ -27,7 +27,8 @@
 __BEGIN_DECLS
 
 /* Enter virtual 8086 mode.  */
-extern int vm86 (struct vm86_struct *__info) __THROW;
+extern int vm86 (unsigned long int __subfunction,
+		 struct vm86plus_struct *__info) __THROW;
 
 __END_DECLS
 
diff --git a/sysdeps/unix/sysv/linux/i386/syscalls.list b/sysdeps/unix/sysv/linux/i386/syscalls.list
index d637f3172a..ddd81be5be 100644
--- a/sysdeps/unix/sysv/linux/i386/syscalls.list
+++ b/sysdeps/unix/sysv/linux/i386/syscalls.list
@@ -1,7 +1,8 @@
 # File name	Caller	Syscall name	Args	Strong name	Weak names
 
 modify_ldt	EXTRA	modify_ldt	i:ipi	__modify_ldt	modify_ldt
-vm86		-	vm86		i:p	__vm86		vm86
+vm86old		EXTRA	vm86old		i:p	__vm86old	vm86@GLIBC_2.0
+vm86		-	vm86		i:ip	__vm86		vm86@GLIBC_2.3.4
 oldgetrlimit	EXTRA	getrlimit	i:ip	__old_getrlimit	getrlimit@GLIBC_2.0
 oldsetrlimit	EXTRA	setrlimit	i:ip	__old_setrlimit	setrlimit@GLIBC_2.0
 time		-	time		Ei:p	time