diff options
author | jake <jake@FreeBSD.org> | 2002-05-23 23:51:57 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-05-23 23:51:57 +0000 |
commit | d6dcf86c8187b3168c45e420fa9f8b20e82e45a8 (patch) | |
tree | 51a6ebc1dc84e85cf33557bdabe1525b569681d8 /lib | |
parent | 334d1908ec8595f74b2d2b9598fd1ec130ca7cc1 (diff) | |
download | FreeBSD-src-d6dcf86c8187b3168c45e420fa9f8b20e82e45a8.zip FreeBSD-src-d6dcf86c8187b3168c45e420fa9f8b20e82e45a8.tar.gz |
Generate the normal asm stubs for all sysv system calls. Use these instead
of C wrappers for the *sys indirect system calls. The indirect system calls
are horribly broken on sparc64.
Submitted by: tmm
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/alpha/sys/Makefile.inc | 8 | ||||
-rw-r--r-- | lib/libc/amd64/sys/Makefile.inc | 8 | ||||
-rw-r--r-- | lib/libc/gen/Makefile.inc | 7 | ||||
-rw-r--r-- | lib/libc/gen/semctl.c | 4 | ||||
-rw-r--r-- | lib/libc/i386/sys/Makefile.inc | 8 | ||||
-rw-r--r-- | lib/libc/ia64/sys/Makefile.inc | 8 | ||||
-rw-r--r-- | lib/libc/sparc64/sys/Makefile.inc | 8 |
7 files changed, 18 insertions, 33 deletions
diff --git a/lib/libc/alpha/sys/Makefile.inc b/lib/libc/alpha/sys/Makefile.inc index bcd5231..4039813 100644 --- a/lib/libc/alpha/sys/Makefile.inc +++ b/lib/libc/alpha/sys/Makefile.inc @@ -4,11 +4,9 @@ MDASM+= Ovfork.S brk.S cerror.S exect.S fork.S pipe.S ptrace.S \ sbrk.S setlogin.S sigreturn.S # Don't generate default code for these syscalls: -NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \ - lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \ - munlockall.o openbsd_poll.o pread.o pwrite.o semconfig.o semget.o \ - semop.o setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \ - truncate.o uname.o vfork.o yield.o +NOASM= break.o exit.o ftruncate.o getdomainname.o getlogin.o \ + lseek.o mlockall.o mmap.o munlockall.o openbsd_poll.o pread.o \ + pwrite.o setdomainname.o sstk.o truncate.o uname.o vfork.o yield.o PSEUDO= _getlogin.o _exit.o diff --git a/lib/libc/amd64/sys/Makefile.inc b/lib/libc/amd64/sys/Makefile.inc index c25b10e..4ac7b3d 100644 --- a/lib/libc/amd64/sys/Makefile.inc +++ b/lib/libc/amd64/sys/Makefile.inc @@ -8,11 +8,9 @@ MDASM= Ovfork.S brk.S cerror.S exect.S pipe.S ptrace.S reboot.S sbrk.S \ setlogin.S sigreturn.S syscall.S # Don't generate default code for these syscalls: -NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \ - lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \ - munlockall.o openbsd_poll.o pread.o pwrite.o semconfig.o semget.o \ - semop.o setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \ - truncate.o uname.o vfork.o yield.o +NOASM= break.o exit.o ftruncate.o getdomainname.o getlogin.o \ + lseek.o mlockall.o mmap.o munlockall.o openbsd_poll.o pread.o \ + pwrite.o setdomainname.o sstk.o truncate.o uname.o vfork.o yield.o PSEUDO= _getlogin.o _exit.o diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index 40d9f6b..cb17c54 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -17,15 +17,14 @@ SRCS+= __xuname.c _pthread_stubs.c _rand48.c _spinlock_stub.c _thread_init.c \ getpeereid.c getprogname.c getpwent.c getttyent.c \ getusershell.c getvfsbyname.c getvfsent.c glob.c \ initgroups.c isatty.c jrand48.c lcong48.c \ - lockf.c lrand48.c mrand48.c msgctl.c \ - msgget.c msgrcv.c msgsnd.c nice.c \ + lockf.c lrand48.c mrand48.c nice.c \ nlist.c nrand48.c ntp_gettime.c opendir.c \ pause.c popen.c posixshm.c psignal.c pw_scan.c pwcache.c \ raise.c readdir.c readpassphrase.c rewinddir.c \ - scandir.c seed48.c seekdir.c semconfig.c semctl.c semget.c semop.c \ + scandir.c seed48.c seekdir.c semctl.c \ setdomainname.c sethostname.c setjmperr.c setmode.c \ setproctitle.c setprogname.c \ - shmat.c shmctl.c shmdt.c shmget.c siginterrupt.c siglist.c signal.c \ + siginterrupt.c siglist.c signal.c \ sigsetops.c sleep.c srand48.c stringlist.c strtofflags.c \ sysconf.c sysctl.c sysctlbyname.c sysctlnametomib.c \ syslog.c telldir.c termios.c time.c times.c timezone.c ttyname.c \ diff --git a/lib/libc/gen/semctl.c b/lib/libc/gen/semctl.c index 3eded93..a64e125 100644 --- a/lib/libc/gen/semctl.c +++ b/lib/libc/gen/semctl.c @@ -37,9 +37,5 @@ int semctl(semid, semnum, cmd, va_alist) } va_end(ap); -#ifdef __NETBSD_SYSCALLS return (__semctl(semid, semnum, cmd, semun_ptr)); -#else - return (semsys(0, semid, semnum, cmd, semun_ptr)); -#endif } diff --git a/lib/libc/i386/sys/Makefile.inc b/lib/libc/i386/sys/Makefile.inc index c25b10e..4ac7b3d 100644 --- a/lib/libc/i386/sys/Makefile.inc +++ b/lib/libc/i386/sys/Makefile.inc @@ -8,11 +8,9 @@ MDASM= Ovfork.S brk.S cerror.S exect.S pipe.S ptrace.S reboot.S sbrk.S \ setlogin.S sigreturn.S syscall.S # Don't generate default code for these syscalls: -NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \ - lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \ - munlockall.o openbsd_poll.o pread.o pwrite.o semconfig.o semget.o \ - semop.o setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \ - truncate.o uname.o vfork.o yield.o +NOASM= break.o exit.o ftruncate.o getdomainname.o getlogin.o \ + lseek.o mlockall.o mmap.o munlockall.o openbsd_poll.o pread.o \ + pwrite.o setdomainname.o sstk.o truncate.o uname.o vfork.o yield.o PSEUDO= _getlogin.o _exit.o diff --git a/lib/libc/ia64/sys/Makefile.inc b/lib/libc/ia64/sys/Makefile.inc index fbbb8ba..775ef67 100644 --- a/lib/libc/ia64/sys/Makefile.inc +++ b/lib/libc/ia64/sys/Makefile.inc @@ -4,10 +4,8 @@ MDASM+= Ovfork.S brk.S cerror.S exect.S fork.S pipe.S ptrace.S \ sbrk.S setlogin.S sigreturn.S # Don't generate default code for these syscalls: -NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \ - lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \ - munlockall.o openbsd_poll.o pread.o pwrite.o semconfig.o semget.o \ - semop.o setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \ - truncate.o uname.o vfork.o yield.o +NOASM= break.o exit.o ftruncate.o getdomainname.o getlogin.o \ + lseek.o mlockall.o mmap.o munlockall.o openbsd_poll.o pread.o \ + pwrite.o setdomainname.o sstk.o truncate.o uname.o vfork.o yield.o PSEUDO= _getlogin.o _exit.o diff --git a/lib/libc/sparc64/sys/Makefile.inc b/lib/libc/sparc64/sys/Makefile.inc index feb9cb6..b28b1c8 100644 --- a/lib/libc/sparc64/sys/Makefile.inc +++ b/lib/libc/sparc64/sys/Makefile.inc @@ -15,11 +15,9 @@ CFLAGS+= -I${.CURDIR}/sparc64/fpu MDASM+= brk.S cerror.S exect.S pipe.S ptrace.S sbrk.S setlogin.S # Don't generate default code for these syscalls: -NOASM= __semctl.o break.o exit.o ftruncate.o getdomainname.o getlogin.o \ - lseek.o mlockall.o mmap.o msgctl.o msgget.o msgrcv.o msgsnd.o \ - munlockall.o openbsd_poll.o pread.o pwrite.o semconfig.o semget.o \ - semop.o setdomainname.o shmat.o shmctl.o shmdt.o shmget.o sstk.o \ - truncate.o uname.o yield.o +NOASM= break.o exit.o ftruncate.o getdomainname.o getlogin.o \ + lseek.o mlockall.o mmap.o munlockall.o openbsd_poll.o pread.o \ + pwrite.o setdomainname.o sstk.o truncate.o uname.o yield.o PSEUDO= _getlogin.o _exit.o |