Remove more overridden entries from sysdeps/unix/sysv/syscalls.list
Joseph S. Myers
joseph@codesourcery.com
Tue May 8 13:26:00 GMT 2012
sysdeps/unix/sysv/ is only used with the Linux kernel. The only thing
left there other than the linux/ subdirectory is syscalls.list. In
that syscalls.list, two syscall entries will never actually be used
because they are overridden by sysdeps/unix/sysv/linux/: ulimit is
overridden by sysdeps/unix/sysv/linux/ulimit.c (I missed that when
preparing my previous patch
<http://sourceware.org/ml/libc-alpha/2012-05/msg00176.html> to remove
syscalls overridden by .c files in sysdeps/unix/sysv/linux/), and
pause is overridden by an entry in
sysdeps/unix/sysv/linux/syscalls.list. I propose this patch to remove
these unused syscall entries. Tested x86_64, including verifying that
the built shared libraries were identical before and after the patch.
(The other three syscall entries are actually used with the Linux
kernel on at least some architectures.)
2012-05-08 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/syscalls.list (pause): Remove.
(ulimit): Likewise.
diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list
index fded7ad..5ff702a 100644
--- a/sysdeps/unix/sysv/syscalls.list
+++ b/sysdeps/unix/sysv/syscalls.list
@@ -1,7 +1,5 @@
# File name Caller Syscall name # args Strong name Weak names
alarm - alarm i:i alarm
-pause - pause Ci: pause
stime - stime i:p stime
-ulimit - ulimit i:ii ulimit
utime - utime i:sP utime
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list