This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Remove overridden entries from sysdeps/unix/sysv/syscalls.list
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 4 May 2012 23:36:10 +0000 (UTC)
- Subject: Remove overridden entries from sysdeps/unix/sysv/syscalls.list
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, six syscall entries will never actually be used
because they are overridden by .c source files in
sysdeps/unix/sysv/linux/. I propose this patch to remove those unused
syscall entries. Tested x86_64, including verifying that the built
shared libraries were identical before and after the patch.
2012-05-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/syscalls.list (ftime): Remove.
(nice): Likewise.
(poll): Likewise.
(signal): Likewise.
(time): Likewise.
(times): Likewise.
diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list
index dc6a431..c508dd0 100644
--- a/sysdeps/unix/sysv/syscalls.list
+++ b/sysdeps/unix/sysv/syscalls.list
@@ -1,15 +1,9 @@
# File name Caller Syscall name # args Strong name Weak names
alarm - alarm i:i alarm
-ftime - ftime i:p ftime
-nice - nice i:i nice
pause - pause Ci: pause
-poll - poll Ci:pii poll
setrlimit - setrlimit i:ip __setrlimit setrlimit
settimeofday - settimeofday i:PP __settimeofday settimeofday
-signal - signal i:ii signal
stime - stime i:p stime
-time - time Ei:P time
-times - times Ei:p __times times
ulimit - ulimit i:ii ulimit
utime - utime i:sP utime
--
Joseph S. Myers
joseph@codesourcery.com