[PATCH] Cleanup PPC32 syscalls.list
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Mon Nov 4 04:46:00 GMT 2002
Hi,
since PPC now has a working INLINE_SYSCALL macro, a lot of the stuff in
powerpc32/syscalls.list is superflous. This patch removes the obvious ones.
Tested on powerpc-linux-gnu.
I'm a little bit unsure about the rt_sig* stuff (if I remove these, ENOSYS
returning stubs will be installed, but glibc seems to work fine
nevertheless...) and the sys_* ones (why are they using the sys_ prefix
instead of the s_ prefix?). If someone can enlighten me on these, I'll send a
followup patch with more removals.
Franz.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc,
s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64,
s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority,
s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot,
s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused
syscall stubs.
-------------- next part --------------
Index: sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list,v
retrieving revision 1.2
diff -u -p -r1.2 syscalls.list
--- sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list 14 Oct 2002 01:03:01 -0000 1.2
+++ sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list 29 Oct 2002 12:15:04 -0000
@@ -2,46 +2,18 @@
# System calls with wrappers.
s_ioctl ioctl ioctl i:iiI __syscall_ioctl
-s_ipc msgget ipc i:iiiip __syscall_ipc
-s_llseek llseek _llseek i:iiipi __syscall__llseek
-s_readahead readahead readahead i:iiii __syscall_readahead
s_chown chown chown i:sii __syscall_chown
-s_execve execve execve i:spp __syscall_execve
rt_sigaction - rt_sigaction i:ippi __syscall_rt_sigaction
rt_sigpending - rt_sigpending i:pi __syscall_rt_sigpending
rt_sigprocmask - rt_sigprocmask i:ippi __syscall_rt_sigprocmask
rt_sigqueueinfo - rt_sigqueueinfo i:iip __syscall_rt_sigqueueinfo
rt_sigsuspend - rt_sigsuspend i:pi __syscall_rt_sigsuspend
rt_sigtimedwait - rt_sigtimedwait i:pppi __syscall_rt_sigtimedwait
-s_fcntl fcntl fcntl i:iiF __syscall_fcntl
-s_fcntl64 fcntl64 fcntl64 i:iiF __syscall_fcntl64
-s_fstat64 fxstat64 fstat64 i:ip __syscall_fstat64
s_ftruncate64 ftruncate64 ftruncate64 i:iii __syscall_ftruncate64
-s_getcwd getcwd getcwd i:pi __syscall_getcwd
-s_getdents getdents getdents i:ipi __syscall_getdents
-s_getdents64 getdents getdents64 i:ipi __syscall_getdents64
-s_getpmsg getpmsg getpmsg i:ipppp __syscall_getpmsg
-s_getpriority getpriority getpriority i:ii __syscall_getpriority
-s_getrlimit getrlimit getrlimit i:ip __syscall_getrlimit
-s_lstat64 lxstat64 lstat64 i:sp __syscall_lstat64
s_mmap2 mmap64 mmap2 b:aniiii __syscall_mmap2
-s_poll poll poll i:pii __syscall_poll
s_pread64 pread64 pread i:ibnii __syscall_pread
-s_ptrace ptrace ptrace i:iipp __syscall_ptrace
-s_putpmsg putpmsg putpmsg i:ippii __syscall_putpmsg
s_pwrite64 pwrite64 pwrite i:ibnii __syscall_pwrite
-s_reboot reboot reboot i:iii __syscall_reboot
-s_setrlimit setrlimit setrlimit i:ip __syscall_setrlimit
-s_sigaction sigaction sigaction i:ipp __syscall_sigaction
-s_sigpending sigpending sigpending i:p __syscall_sigpending
-s_sigprocmask sigprocmask sigprocmask i:ipp __syscall_sigprocmask
-s_sigsuspend sigsuspend sigsuspend i:iii __syscall_sigsuspend
-s_stat64 xstat64 stat64 i:sp __syscall_stat64
-s_sysctl sysctl _sysctl i:p __syscall__sysctl
s_truncate64 truncate64 truncate64 i:sii __syscall_truncate64
-s_ugetrlimit getrlimit ugetrlimit i:ip __syscall_ugetrlimit
-s_ustat ustat ustat i:ip __syscall_ustat
-s_vfork vfork vfork i: __syscall_vfork
sys_fstat fxstat fstat i:ip __syscall_fstat
sys_lstat lxstat lstat i:sp __syscall_lstat
sys_mknod xmknod mknod i:pii __syscall_mknod
More information about the Libc-alpha
mailing list