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
This commit is contained in:
parent
2274ec995c
commit
530622075e
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user