Miscellaneous hppa syscall fixes
Matthew Wilcox
willy@ldl.fc.hp.com
Tue Jun 5 22:53:00 GMT 2001
2001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
* sysdeps/unix/sysv/linux/hppa/getrlimit.c: remove
* sysdeps/unix/sysv/linux/hppa/setrlimit.c: remove
* sysdeps/unix/sysv/linux/hppa/msgctl.c: new file
* sysdeps/unix/sysv/linux/hppa/semctl.c: new file
* sysdeps/unix/sysv/linux/hppa/shmctl.c: new file
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
setrlimit directly instead of using wrappers. Use wrappers
for msgctl, semctl and shmctl.
diff -urNx CVS glibc-223/sysdeps/unix/sysv/linux/hppa/getrlimit.c glibc-merge/sysdeps/unix/sysv/linux/hppa/getrlimit.c
--- glibc-223/sysdeps/unix/sysv/linux/hppa/getrlimit.c Thu Nov 16 13:00:55 2000
+++ glibc-merge/sysdeps/unix/sysv/linux/hppa/getrlimit.c Wed Dec 31 17:00:00 1969
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/getrlimit.c>
diff -urNx CVS glibc-223/sysdeps/unix/sysv/linux/hppa/msgctl.c glibc-merge/sysdeps/unix/sysv/linux/hppa/msgctl.c
--- glibc-223/sysdeps/unix/sysv/linux/hppa/msgctl.c Wed Dec 31 17:00:00 1969
+++ glibc-merge/sysdeps/unix/sysv/linux/hppa/msgctl.c Sat May 19 12:11:55 2001
@@ -0,0 +1 @@
+#include "../alpha/msgctl.c"
diff -urNx CVS glibc-223/sysdeps/unix/sysv/linux/hppa/semctl.c glibc-merge/sysdeps/unix/sysv/linux/hppa/semctl.c
--- glibc-223/sysdeps/unix/sysv/linux/hppa/semctl.c Wed Dec 31 17:00:00 1969
+++ glibc-merge/sysdeps/unix/sysv/linux/hppa/semctl.c Sat May 19 12:13:06 2001
@@ -0,0 +1 @@
+#include "../alpha/semctl.c"
diff -urNx CVS glibc-223/sysdeps/unix/sysv/linux/hppa/setrlimit.c glibc-merge/sysdeps/unix/sysv/linux/hppa/setrlimit.c
--- glibc-223/sysdeps/unix/sysv/linux/hppa/setrlimit.c Thu Nov 16 13:00:55 2000
+++ glibc-merge/sysdeps/unix/sysv/linux/hppa/setrlimit.c Wed Dec 31 17:00:00 1969
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/i386/setrlimit.c>
diff -urNx CVS glibc-223/sysdeps/unix/sysv/linux/hppa/shmctl.c glibc-merge/sysdeps/unix/sysv/linux/hppa/shmctl.c
--- glibc-223/sysdeps/unix/sysv/linux/hppa/shmctl.c Wed Dec 31 17:00:00 1969
+++ glibc-merge/sysdeps/unix/sysv/linux/hppa/shmctl.c Sat May 19 12:12:31 2001
@@ -0,0 +1 @@
+#include "../alpha/shmctl.c"
diff -urNx CVS glibc-223/sysdeps/unix/sysv/linux/hppa/syscalls.list glibc-merge/sysdeps/unix/sysv/linux/hppa/syscalls.list
--- glibc-223/sysdeps/unix/sysv/linux/hppa/syscalls.list Tue Apr 24 14:12:08 2001
+++ glibc-merge/sysdeps/unix/sysv/linux/hppa/syscalls.list Sat May 26 13:26:12 2001
@@ -1,17 +1,17 @@
# File name Caller Syscall name # args Strong name Weak names
# semaphore and shm system calls
-msgctl - msgctl i:iip __msgctl msgctl
+#msgctl - msgctl i:iip __msgctl msgctl
msgget - msgget i:ii __msgget msgget
msgrcv - msgrcv i:ibnii __msgrcv msgrcv
msgsnd - msgsnd i:ibni __msgsnd msgsnd
shmat - shmat i:ipi __shmat shmat
-shmctl - shmctl i:iip __shmctl shmctl
+#shmctl - shmctl i:iip __shmctl shmctl
shmdt - shmdt i:s __shmdt shmdt
shmget - shmget i:iii __shmget shmget
semop - semop i:ipi __semop semop
semget - semget i:iii __semget semget
-semctl - semctl i:iiii __semctl semctl
+#semctl - semctl i:iiii __semctl semctl
# proper socket implementations:
accept - accept i:iBN __libc_accept __accept accept
@@ -35,3 +35,5 @@
getresuid - getresuid i:ppp getresuid
getresgid - getresgid i:ppp getresgid
+setrlimit - setrlimit i:ip __setrlimit setrlimit
+getrlimit - getrlimit i:ip __getrlimit getrlimit
More information about the Libc-alpha
mailing list