Skip to content
Snippets Groups Projects
Commit 4b96ae74 authored by pw's avatar pw
Browse files

Peter's fixes for Linux 2.1

parent bea3d979
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ NM = nm -gp
UNDEFSYMPATTERN=-Xlinker -u -Xlinker &
ASSEM_SRC = x86-assem.S
ARCH_SRC = x86-arch.c
OS_SRC = FreeBSD-os.c os-common.c
OS_SRC = FreeBSD-os.c os-common.c undefineds.c
OS_LINK_FLAGS=-static
OS_LIBS= -lgnumalloc
OS_LIBS=# -lgnumalloc
GC_SRC= cgc.c
......@@ -9,6 +9,6 @@ NM = alpha-nm
UNDEFSYMPATTERN=-Xlinker -u -Xlinker &
ASSEM_SRC = alpha-assem.S
ARCH_SRC = alpha-arch.c
OS_SRC = osf1-os.c os-common.c
OS_SRC = osf1-os.c os-common.c undefineds.c
OS_LINK_FLAGS=-static
OS_LIBS=
......@@ -8,7 +8,7 @@ ASFLAGS = -O -DNEW_FORMAT
UNDEFSYMPATTERN=-u &
ASSEM_SRC = hppa-assem.S
ARCH_SRC = hppa-arch.c
OS_SRC = hpux-os.c
OS_SRC = hpux-os.c undefineds.c
OS_LINK_FLAGS= -Wl,-a,archive
OS_LIBS= -lBSD /lib/pa1.1/libm.a
......
......@@ -8,7 +8,7 @@ ASFLAGS = -g
UNDEFSYMPATTERN=-u &
ASSEM_SRC = hppa-assem.S
ARCH_SRC = hppa-arch.c
OS_SRC = mach-os.c os-common.c
OS_SRC = mach-os.c os-common.c undefineds.c
OS_LINK_FLAGS=
OS_LIBS=-lmach -lthreads
......
......@@ -7,6 +7,6 @@ NM = nm -gp
UNDEFSYMPATTERN=-Xlinker -u -Xlinker &
ASSEM_SRC = mips-assem.S
ARCH_SRC = mips-arch.c
OS_SRC = mach-os.c os-common.c
OS_SRC = mach-os.c os-common.c undefineds.c
OS_LINK_FLAGS=
OS_LIBS=-lmach
......@@ -15,6 +15,6 @@ NM = irix-nm
UNDEFSYMPATTERN=-Xlinker -u -Xlinker &
ASSEM_SRC = mips-assem.S
ARCH_SRC = mips-arch.c
OS_SRC = irix-os.c os-common.c
OS_SRC = irix-os.c os-common.c undefineds.c
OS_LINK_FLAGS= -non_shared
OS_LIBS=
......@@ -6,6 +6,6 @@ ASFLAGS = -g
NM = nm -gp
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
OS_SRC = mach-os.c os-common.c
OS_SRC = mach-os.c os-common.c undefineds.c
OS_LINK_FLAGS=
OS_LIBS=-lmach
......@@ -9,6 +9,6 @@ DEPEND_FLAGS = -traditional-cpp
NM = ./solaris-nm
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
OS_SRC = sunos-os.c os-common.c
OS_SRC = sunos-os.c os-common.c undefineds.c
OS_LINK_FLAGS=
OS_LIBS= -lsocket -lnsl -ldl
......@@ -8,7 +8,7 @@ COMPILE.S = as -P $(CPPFLAGS)
NM = ./solaris-nm
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
OS_SRC = sunos-os.c os-common.c
OS_SRC = sunos-os.c os-common.c undefineds.c
OS_LINK_FLAGS=
OS_LIBS= -lsocket -lnsl -ldl
......
......@@ -6,6 +6,6 @@ ASFLAGS = -O
NM = nm -gp
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
OS_SRC = sunos-os.c os-common.c
OS_SRC = sunos-os.c os-common.c undefineds.c
OS_LINK_FLAGS= -Xlinker -Bstatic
OS_LIBS=
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.12 1997/01/21 00:28:13 ram Exp $
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.13 1997/06/07 15:25:37 pw Exp $
all: lisp.nm
......@@ -15,7 +15,7 @@ endif
SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c \
vars.c parse.c interrupt.c search.c validate.c globals.c \
dynbind.c breakpoint.c regnames.c backtrace.c save.c purify.c \
socket.c runprog.c time.c undefineds.c \
socket.c runprog.c time.c \
${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC}
OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS))))
......
......@@ -13,7 +13,7 @@
* Much hacked by Paul Werkowski
* Morfed from the FreeBSD file by Peter Van Eynde (July 1996)
*
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/Linux-os.c,v 1.1 1997/01/21 00:28:13 ram Exp $
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/Linux-os.c,v 1.2 1997/06/07 15:25:38 pw Exp $
*
*/
......@@ -85,7 +85,11 @@ __setfpucw(0x1372|4|8|16|32); /*no interrupts */
}
int
#if LINUX_VERSION_CODE >= linuxversion(2,1,0)
sc_reg(struct sigcontext *c, int offset)
#else
sc_reg(struct sigcontext_struct *c, int offset)
#endif
{
switch(offset)
{
......
......@@ -19,10 +19,13 @@
#include <sys/syscall.h>
#include <asm/unistd.h>
#include <errno.h>
#include <linux/version.h>
#define MAP_VARIABLE 0
#define PRINTNOISE
/* #define DEBUG_SCAVENGE_VERBOSE */
#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c))
typedef caddr_t os_vm_address_t; /* like hpux */
typedef size_t os_vm_size_t; /* like hpux */
typedef off_t os_vm_offset_t; /* like hpux */
......@@ -34,17 +37,30 @@ typedef int os_vm_prot_t; /* like hpux */
#define OS_VM_DEFAULT_PAGESIZE 4096 /* like hpux */
#if LINUX_VERSION_CODE >= linuxversion(2,1,0)
int sc_reg(struct sigcontext *,int);
#else
int sc_reg(struct sigcontext_struct *,int);
#endif
void os_save_context(void);
#define SAVE_CONTEXT os_save_context
#if LINUX_VERSION_CODE >= linuxversion(2,1,0)
typedef struct sigcontext sigcontext;
#else
typedef struct sigcontext_struct sigcontext;
#endif
#define POSIX_SIGS
#if LINUX_VERSION_CODE >= linuxversion(2,1,0)
#define HANDLER_ARGS int signal, struct sigcontext contextstruct
#define GET_CONTEXT int code=0; struct sigcontext *context=&contextstruct;
#else
#define HANDLER_ARGS int signal, struct sigcontext_struct contextstruct
#define GET_CONTEXT int code=0; struct sigcontext_struct *context=&contextstruct;
#endif
#define sigvec sigaction
#define sv_mask sa_mask
......@@ -55,7 +71,11 @@ typedef struct sigcontext_struct sigcontext;
#define sc_pc eip
#define sc_mask oldmask
#define sc_sp esp
#if LINUX_VERSION_CODE >= linuxversion(2,1,0)
#define sigcontext sigcontext
#else
#define sigcontext sigcontext_struct
#endif
#define sa_sigaction sa_handler
#define SA_SIGINFO 0
#define sc_efl eflags
......
/* linux-stubs.S
$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/linux-stubs.S,v 1.1 1997/01/21 00:28:13 ram Exp $
$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/linux-stubs.S,v 1.2 1997/06/07 15:25:40 pw Exp $
These are needed because the locations of the
libraries are filled in by ld.so at runtime.
......@@ -19,153 +19,951 @@ PVE_stub_ ## fct: ;\
.L ## fct ## e1: ;\
.size PVE_stub_ ## fct,.L ## fct ## e1-PVE_stub_ ## fct ;
doe(malloc)
doe(free)
doe(isatty)
doe(abort)
doe(abs)
doe(accept)
doe(access)
doe(acct)
doe(acos)
doe(acosh)
doe(acoshl)
doe(acosl)
doe(addmntent)
doe(adjtime)
doe(adjtimex)
doe(alarm)
doe(alphasort)
doe(altzone)
doe(asctime)
doe(asin)
doe(asinh)
doe(asinhl)
doe(asinl)
doe(atan)
doe(atan2)
doe(atan2l)
doe(atanh)
doe(atanhl)
doe(atanl)
doe(atexit)
doe(atof)
doe(atoi)
doe(atol)
doe(authdes_create)
doe(authnone_create)
doe(authunix_create)
doe(authunix_create_default)
doe(basename)
doe(bcmp)
doe(bcopy)
doe(bind)
doe(bindresvport)
doe(brk)
doe(bsearch)
doe(btowc)
doe(bzero)
doe(calloc)
doe(callrpc)
doe(catclose)
doe(catgets)
doe(catopen)
doe(cbc_crypt)
doe(cbrt)
doe(cbrtl)
doe(ceil)
doe(ceill)
doe(cfgetispeed)
doe(cfgetospeed)
doe(cfmakeraw)
doe(cfree)
doe(cfsetispeed)
doe(cfsetospeed)
doe(chdir)
doe(chmod)
doe(chown)
doe(chroot)
doe(clearerr)
doe(clnt_broadcast)
doe(clnt_create)
doe(clnt_pcreateerror)
doe(clnt_perrno)
doe(clnt_perror)
doe(clnt_spcreateerror)
doe(clnt_sperrno)
doe(clnt_sperror)
doe(clntraw_create)
doe(clnttcp_create)
doe(clntudp_bufcreate)
doe(clntudp_create)
doe(clock)
doe(close)
doe(closedir)
doe(closelog)
doe(confstr)
doe(connect)
doe(copysign)
doe(copysignl)
doe(cos)
doe(cosh)
doe(coshl)
doe(cosl)
doe(creat)
doe(crypt)
doe(ctermid)
doe(ctime)
doe(ctime_r)
doe(cuserid)
doe(daylight)
doe(des_setparity)
doe(difftime)
doe(dirfd)
doe(div)
doe(dlclose)
doe(dlerror)
doe(dlopen)
doe(dlsym)
doe(dn_comp)
doe(dn_expand)
doe(dn_skipname)
doe(drand48)
doe(drem)
doe(dup)
doe(dup2)
doe(ecb_crypt)
doe(ecvt)
doe(encrypt)
doe(endgrent)
doe(endhostent)
doe(endmntent)
doe(endnetent)
doe(endprotoent)
doe(endpwent)
doe(endrpcent)
doe(endservent)
doe(endsgent)
doe(endspent)
doe(endusershell)
doe(endutent)
doe(environ)
doe(erand48)
doe(erf)
doe(erfc)
doe(erfcl)
doe(erfl)
doe(err)
doe(errno)
doe(errx)
doe(execl)
doe(execle)
doe(execlp)
doe(execv)
doe(execve)
doe(execvp)
doe(exit)
doe(exp)
doe(expl)
doe(expm1)
doe(expm1l)
doe(fabs)
doe(fabsl)
doe(fchdir)
doe(fchmod)
doe(fchown)
doe(fclose)
doe(fcntl)
doe(fcvt)
doe(fdatasync)
doe(fdopen)
doe(feof)
doe(ferror)
doe(fflush)
doe(ffs)
doe(fgetc)
doe(fgetgrent)
doe(fgetpos)
doe(fgetpwent)
doe(fgets)
doe(fgetsgent)
doe(fgetspent)
doe(fileno)
doe(finite)
doe(flock)
doe(flockfile)
doe(floor)
doe(floorl)
doe(fmod)
doe(fmodl)
doe(fnmatch)
doe(fopen)
doe(fork)
doe(fp_nquery)
doe(fp_query)
doe(fp_resstat)
doe(fpathconf)
doe(fpclassifyd)
doe(fpclassifyf)
doe(fpclassifyl)
doe(fprintf)
doe(fputc)
doe(fputs)
doe(fread)
doe(free)
doe(freopen)
doe(frexp)
doe(frexpl)
doe(fscanf)
doe(fseek)
doe(fsetpos)
doe(fstat)
doe(fstatfs)
doe(fsync)
doe(ftell)
doe(ftime)
doe(ftok)
doe(ftruncate)
doe(ftrylockfile)
doe(ftw)
doe(funlockfile)
doe(fwrite)
doe(gcvt)
doe(get_current_dir_name)
doe(get_myaddress)
doe(getc)
doe(getchar)
doe(getcwd)
doe(getdelim)
doe(getdents)
doe(getdirentries)
doe(getdomainname)
doe(getdtablesize)
doe(getegid)
doe(getenv)
doe(geteuid)
doe(getgid)
doe(getgrent)
doe(getgrgid)
doe(getgrnam)
doe(getgroups)
doe(gethostbyaddr)
doe(gethostbyname)
doe(gethostent)
doe(gethostid)
doe(gethostname)
doe(getitimer)
doe(getlogin)
doe(getmntent)
doe(getnetbyaddr)
doe(getnetbyname)
doe(getnetent)
doe(getopt)
doe(getopt_long)
doe(getopt_long_only)
doe(getpagesize)
doe(getpass)
doe(getpeername)
doe(getpgid)
doe(getpgrp)
doe(getpid)
doe(getppid)
doe(getpriority)
doe(getprotobyname)
doe(getprotobynumber)
doe(getprotoent)
doe(getpw)
doe(getpwent)
doe(getpwnam)
doe(getpwuid)
doe(getrlimit)
doe(getrpcbyname)
doe(getrpcbynumber)
doe(getrpcent)
doe(getrpcport)
doe(getrusage)
doe(gets)
doe(getservbyname)
doe(getservbyport)
doe(getservent)
doe(getsgent)
doe(getsgnam)
doe(getsid)
doe(getsockname)
doe(getsockopt)
doe(getspent)
doe(getspnam)
doe(gettimeofday)
doe(getuid)
doe(getusershell)
doe(getutent)
doe(getutid)
doe(getutline)
doe(getw)
doe(getwd)
doe(glob)
doe(globfree)
doe(gmtime)
doe(gmtime_r)
doe(gsignal)
doe(hasmntopt)
doe(hcreate)
doe(hdestroy)
doe(herror)
doe(hostalias)
doe(hsearch)
doe(htonl)
doe(htons)
doe(hypot)
doe(hypotl)
doe(idle)
doe(index)
doe(inet_addr)
doe(inet_aton)
doe(inet_lnaof)
doe(inet_makeaddr)
doe(inet_netof)
doe(inet_network)
doe(inet_nsap_addr)
doe(inet_nsap_ntoa)
doe(inet_ntoa)
doe(infnan)
doe(init_des)
doe(initgroups)
doe(initstate)
doe(insque)
doe(ioctl)
doe(ioperm)
doe(iopl)
doe(ipc)
doe(isalnum)
doe(isalpha)
doe(isascii)
doe(isatty)
doe(isblank)
doe(iscntrl)
doe(isdigit)
doe(isgraph)
doe(isinf)
doe(isinfl)
doe(islower)
doe(isnan)
doe(isnanl)
doe(isprint)
doe(ispunct)
doe(isspace)
doe(isupper)
doe(iswalnum)
doe(iswalpha)
doe(iswcntrl)
doe(iswctype)
doe(iswdigit)
doe(iswgraph)
doe(iswlower)
doe(iswprint)
doe(iswpunct)
doe(iswspace)
doe(iswupper)
doe(iswxdigit)
doe(isxdigit)
doe(j0)
doe(j0l)
doe(j1)
doe(j1l)
doe(jn)
doe(jnl)
doe(jrand48)
doe(key_get_conv)
doe(kill)
doe(killpg)
doe(labs)
doe(lckpwdf)
doe(lcong48)
doe(ldexp)
doe(ldexpl)
doe(ldiv)
doe(lfind)
doe(lgamma)
doe(lgammal)
doe(libc_nls_init)
doe(link)
doe(listen)
doe(llseek)
doe(localeconv)
doe(localtime)
doe(localtime_r)
doe(lockf)
doe(log)
doe(log10)
doe(log10l)
doe(log1p)
doe(log1pl)
doe(log2l)
doe(logl)
doe(longjmp)
doe(lrand48)
doe(lsearch)
doe(lseek)
doe(lstat)
doe(mallinfo)
doe(malloc)
doe(malloc_stats)
doe(malloc_trim)
doe(malloc_usable_size)
doe(mallopt)
doe(mblen)
doe(mbrlen)
doe(mbrtowc)
doe(mbsinit)
doe(mbsrtowcs)
doe(mbstowcs)
doe(mbtowc)
doe(memalign)
doe(memccpy)
doe(memchr)
doe(memcmp)
doe(memcpy)
doe(memfrob)
doe(memmem)
doe(memmove)
doe(memset)
doe(mkdir)
doe(mkfifo)
doe(mknod)
doe(mkstemp)
doe(mktemp)
doe(mktime)
doe(mlock)
doe(mlockall)
doe(mmap)
doe(modf)
doe(modfl)
doe(mount)
doe(mprotect)
doe(mrand48)
doe(mremap)
doe(msgctl)
doe(msgget)
doe(msgrcv)
doe(msgsnd)
doe(msync)
doe(munlock)
doe(munlockall)
doe(munmap)
doe(nanosleep)
doe(nice)
doe(nl_langinfo)
doe(nrand48)
doe(ntohl)
doe(ntohs)
doe(obstack_free)
doe(on_exit)
doe(open)
doe(opendir)
doe(openlog)
doe(optarg)
doe(opterr)
doe(optind)
doe(optopt)
doe(p_cdname)
doe(p_cdnname)
doe(p_class)
doe(p_fqname)
doe(p_option)
doe(p_query)
doe(p_rr)
doe(p_time)
doe(p_type)
doe(parse_printf_format)
doe(pathconf)
doe(pause)
doe(pclose)
doe(perror)
doe(pipe)
doe(pmap_getmaps)
doe(pmap_getport)
doe(pmap_rmtcall)
doe(pmap_set)
doe(pmap_unset)
doe(popen)
doe(pow)
doe(pow10)
doe(pow10l)
doe(pow2)
doe(pow2l)
doe(powl)
doe(prev_fstat)
doe(prev_lstat)
doe(prev_mknod)
doe(prev_stat)
doe(prev_ustat)
doe(printf)
doe(psignal)
doe(pthread_cond_broadcast)
doe(pthread_cond_destroy)
doe(pthread_cond_init)
doe(pthread_cond_signal)
doe(pthread_cond_wait)
doe(pthread_equal)
doe(pthread_mutex_destroy)
doe(pthread_mutex_init)
doe(pthread_mutex_lock)
doe(pthread_mutex_unlock)
doe(pthread_once)
doe(pthread_self)
doe(pthread_yield)
doe(ptrace)
doe(putc)
doe(putchar)
doe(putenv)
doe(putlong)
doe(putpwent)
doe(puts)
doe(putsgent)
doe(putshort)
doe(putspent)
doe(pututline)
doe(putw)
doe(qsort)
doe(raise)
doe(rand)
doe(random)
doe(rcmd)
doe(re_comp)
doe(re_compile_fastmap)
doe(re_compile_pattern)
doe(re_error_msg)
doe(re_exec)
doe(re_match)
doe(re_match_2)
doe(re_search)
doe(re_search_2)
doe(re_set_registers)
doe(re_set_syntax)
doe(re_syntax_options)
doe(read)
doe(readdir)
doe(readdir_r)
doe(readlink)
doe(readv)
doe(realloc)
doe(realpath)
doe(reboot)
doe(recv)
doe(recvfrom)
doe(recvmsg)
doe(regcomp)
doe(regerror)
doe(regexec)
doe(regfree)
doe(register_printf_function)
doe(remove)
doe(remque)
doe(rename)
doe(res_init)
doe(res_isourserver)
doe(res_mkquery)
doe(res_nameinquery)
doe(res_queriesmatch)
doe(res_query)
doe(res_querydomain)
doe(res_randomid)
doe(res_search)
doe(res_send)
doe(rewind)
doe(rewinddir)
doe(rexec)
doe(rindex)
doe(rint)
doe(rmdir)
doe(rpc_createerr)
doe(rresvport)
doe(rtime)
doe(ruserok)
doe(rx_cache_bound)
doe(rx_id_instruction_table)
doe(rx_id_translation)
doe(rx_slowmap)
doe(rx_version_string)
doe(sbrk)
doe(scandir)
doe(scanf)
doe(sched_get_priority_max)
doe(sched_get_priority_min)
doe(sched_getparam)
doe(sched_getscheduler)
doe(sched_rr_get_interval)
doe(sched_setparam)
doe(sched_setscheduler)
doe(sched_yield)
doe(seed48)
doe(seekdir)
doe(select)
doe(semctl)
doe(semget)
doe(semop)
doe(send)
doe(sendmsg)
doe(sendto)
doe(set_new_handler)
doe(setbuf)
doe(setbuffer)
doe(setdomainname)
doe(setegid)
doe(setenv)
doe(seteuid)
doe(setfsgid)
doe(setfsuid)
doe(setgid)
doe(setgrent)
doe(setgroups)
doe(sethostent)
doe(sethostfile)
doe(sethostid)
doe(sethostname)
doe(setitimer)
doe(setkey)
doe(setlinebuf)
doe(setlocale)
doe(setlogmask)
doe(setmntent)
doe(setnetent)
doe(setpgid)
doe(setpgrp)
doe(setpriority)
doe(setprotoent)
doe(setpwent)
doe(setregid)
doe(setreuid)
doe(setrlimit)
doe(setrpcent)
doe(setservent)
doe(setsgent)
doe(setsid)
doe(setsockopt)
doe(setspent)
doe(setstate)
doe(settimeofday)
doe(setuid)
doe(setusershell)
doe(setutent)
doe(setvbuf)
doe(sgetsgent)
doe(sgetspent)
doe(shmat)
doe(shmctl)
doe(shmdt)
doe(shmget)
doe(shutdown)
doe(sigaction)
doe(sigaddset)
doe(sigblock)
doe(sigdelset)
doe(sigemptyset)
doe(sigfillset)
doe(siggetmask)
doe(siginterrupt)
doe(sigismember)
doe(siglongjmp)
doe(signal)
doe(signgam)
doe(signgaml)
doe(sigpause)
doe(sigpending)
doe(sigprocmask)
doe(sigreturn)
doe(sigsetmask)
doe(sigsuspend)
doe(sin)
doe(sinh)
doe(sinhl)
doe(sinl)
doe(sleep)
doe(snprintf)
doe(socket)
doe(socketcall)
doe(socketpair)
doe(sprintf)
doe(sqrt)
doe(sqrtl)
doe(srand)
doe(srand48)
doe(srandom)
doe(sscanf)
doe(ssignal)
doe(stat)
doe(statfs)
doe(stderr)
doe(stdin)
doe(stdout)
doe(stime)
doe(stpcpy)
doe(stpncpy)
doe(strcasecmp)
doe(strcat)
doe(strchr)
doe(strcmp)
doe(strcoll)
doe(strcpy)
doe(strcspn)
doe(strdup)
doe(strerror)
doe(strfry)
doe(strftime)
doe(strlen)
doe(strncasecmp)
doe(strncat)
doe(strncmp)
doe(strncpy)
doe(strpbrk)
doe(strptime)
doe(strrchr)
doe(strsep)
doe(strsignal)
doe(strspn)
doe(strstr)
doe(strtod)
doe(strtof)
doe(strtok)
doe(strtol)
doe(strtold)
doe(strtoq)
doe(strtoul)
doe(strtouq)
doe(strxfrm)
doe(svc_exit)
doe(svc_fdset)
doe(svc_getreq)
doe(svc_getreqset)
doe(svc_register)
doe(svc_run)
doe(svc_sendreply)
doe(svc_unregister)
doe(svcerr_auth)
doe(svcerr_decode)
doe(svcerr_noproc)
doe(svcerr_noprog)
doe(svcerr_progvers)
doe(svcerr_systemerr)
doe(svcerr_weakauth)
doe(svcraw_create)
doe(svctcp_create)
doe(svcudp_bufcreate)
doe(svcudp_create)
doe(swab)
doe(swapoff)
doe(swapon)
doe(symlink)
doe(sync)
doe(sys_errlist)
doe(sys_nerr)
doe(sys_siglist)
doe(syscall)
doe(closedir)
doe(opendir)
doe(readdir)
doe(syscall_flock)
doe(syscall_readv)
doe(syscall_writev)
doe(sysconf)
doe(sysctl)
doe(sysinfo)
doe(syslog)
doe(system)
doe(tan)
doe(tanh)
doe(tanhl)
doe(tanl)
doe(tcdrain)
doe(tcflow)
doe(tcflush)
doe(tcgetattr)
doe(tcgetpgrp)
doe(tcsendbreak)
doe(tcsetattr)
doe(tcsetpgrp)
doe(tdelete)
doe(tell)
doe(telldir)
doe(tempnam)
doe(tfind)
doe(time)
doe(timegm)
doe(times)
doe(timezone)
doe(tmpfile)
doe(tmpnam)
doe(toascii)
doe(tolower)
doe(toupper)
doe(towctrans)
doe(towlower)
doe(towupper)
doe(truncate)
doe(tsearch)
doe(ttyname)
doe(ttyname_r)
doe(twalk)
doe(tzname)
doe(tzset)
doe(ulckpwdf)
doe(ulimit)
doe(umask)
doe(umount)
doe(uname)
doe(ungetc)
doe(unlink)
doe(unsetenv)
doe(uselib)
doe(usleep)
doe(ustat)
doe(utime)
doe(utimes)
doe(utmpname)
doe(valloc)
doe(vasprintf)
doe(verr)
doe(verrx)
doe(vfork)
doe(vfprintf)
doe(vfscanf)
doe(vhangup)
doe(vm86)
doe(vm86old)
doe(vprintf)
doe(vscanf)
doe(vsnprintf)
doe(vsprintf)
doe(vsscanf)
doe(vsyslog)
doe(vwarn)
doe(vwarnx)
doe(wait)
doe(wait3)
doe(wait4)
doe(waitpid)
doe(warn)
doe(warnx)
doe(wcrtomb)
doe(wcscat)
doe(wcschr)
doe(wcscmp)
doe(wcscpy)
doe(wcscspn)
doe(wcsdup)
doe(wcslen)
doe(wcsncat)
doe(wcsncmp)
doe(wcsncpy)
doe(wcspbrk)
doe(wcsrchr)
doe(wcsrtombs)
doe(wcsspn)
doe(wcsstr)
doe(wcstok)
doe(wcstombs)
doe(wctob)
doe(wctomb)
doe(wctrans)
doe(wctype)
doe(wmemchr)
doe(wmemcmp)
doe(wmemcpy)
doe(wmemmove)
doe(wmemset)
doe(write)
doe(writev)
doe(cos)
doe(sin)
doe(tan)
doe(acos)
doe(asin)
doe(atan)
doe(atan2)
doe(sinh)
doe(cosh)
doe(tanh)
doe(asinh)
doe(acosh)
doe(atanh)
doe(exp)
doe(expm1)
doe(log)
doe(log10)
doe(log1p)
doe(pow)
doe(cbrt)
doe(sqrt)
doe(hypot)
doe(gethostbyname)
doe(gethostbyaddr)
doe(setpgid)
doe(getpgid)
doe(timezone)
doe(altzone)
doe(daylight)
doe(tzname)
doe(dlopen)
doe(dlsym)
doe(dlclose)
doe(dlerror)
doe(getwd)
doe(ttyname)
doe(xdr_array)
doe(xdr_authunix_parms)
doe(xdr_bool)
doe(xdr_bytes)
doe(xdr_callhdr)
doe(xdr_callmsg)
doe(xdr_char)
doe(xdr_cryptkeyarg)
doe(xdr_cryptkeyarg2)
doe(xdr_cryptkeyres)
doe(xdr_des_block)
doe(xdr_domainname)
doe(xdr_double)
doe(xdr_enum)
doe(xdr_float)
doe(xdr_free)
doe(xdr_getcredres)
doe(xdr_int)
doe(xdr_key_netstarg)
doe(xdr_key_netstres)
doe(xdr_keybuf)
doe(xdr_keydat)
doe(xdr_keystatus)
doe(xdr_long)
doe(xdr_mapname)
doe(xdr_netnamestr)
doe(xdr_netobj)
doe(xdr_opaque)
doe(xdr_opaque_auth)
doe(xdr_passwd)
doe(xdr_peername)
doe(xdr_pmap)
doe(xdr_pmaplist)
doe(xdr_pointer)
doe(xdr_reference)
doe(xdr_replymsg)
doe(xdr_rmtcall_args)
doe(xdr_rmtcallres)
doe(xdr_short)
doe(xdr_string)
doe(xdr_u_char)
doe(xdr_u_int)
doe(xdr_u_long)
doe(xdr_u_short)
doe(xdr_union)
doe(xdr_unixcred)
doe(xdr_valdat)
doe(xdr_vector)
doe(xdr_void)
doe(xdr_wrapstring)
doe(xdr_yp_buf)
doe(xdr_ypbind_binding)
doe(xdr_ypbind_resp)
doe(xdr_ypbind_resptype)
doe(xdr_ypbind_setdom)
doe(xdr_ypdelete_args)
doe(xdr_ypmap_parms)
doe(xdr_ypmaplist)
doe(xdr_yppasswd)
doe(xdr_yppush_status)
doe(xdr_yppushresp_xfr)
doe(xdr_ypreq_key)
doe(xdr_ypreq_nokey)
doe(xdr_ypreq_xfr)
doe(xdr_ypresp_all)
doe(xdr_ypresp_all_seq)
doe(xdr_ypresp_key_val)
doe(xdr_ypresp_maplist)
doe(xdr_ypresp_master)
doe(xdr_ypresp_order)
doe(xdr_ypresp_val)
doe(xdr_ypstat)
doe(xdr_ypupdate_args)
doe(xdr_ypxfrstat)
doe(xdrmem_create)
doe(xdrrec_create)
doe(xdrrec_endofrecord)
doe(xdrrec_eof)
doe(xdrrec_skiprecord)
doe(xdrstdio_create)
doe(xprt_register)
doe(xprt_unregister)
doe(y0)
doe(y0l)
doe(y1)
doe(y1l)
doe(yn)
doe(ynl)
doe(yp_all)
doe(yp_bind)
doe(yp_first)
doe(yp_get_default_domain)
doe(yp_maplist)
doe(yp_master)
doe(yp_match)
doe(yp_next)
doe(yp_order)
doe(yp_unbind)
doe(yperr_string)
doe(ypprot_err)
/* Routines that must be linked into the core for lisp to work. */
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/undefineds.h,v 1.17 1997/05/05 23:13:59 dtc Exp $ */
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/undefineds.h,v 1.18 1997/06/07 15:25:41 pw Exp $ */
/* Pick up all the syscalls. */
accept,
......@@ -75,9 +75,7 @@ mknod,
mount,
open,
pipe,
#ifndef __linux__
profil,
#endif
ptrace,
#ifdef mach
quota,
......@@ -110,7 +108,7 @@ setpgrp,
#if !defined(SVR4) || defined(SOLARIS25)
setpriority,
#endif
#if !defined(mach) && !defined(SOLARIS) && !defined(__FreeBSD__) && !defined(__linux__) && !defined(SUNOS) && !defined(osf1) && !defined(irix)
#if !defined(mach) && !defined(SOLARIS) && !defined(__FreeBSD__) && !defined(SUNOS) && !defined(osf1) && !defined(irix)
setquota,
#endif
#if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25)
......@@ -130,11 +128,9 @@ sigreturn,
#endif
#if !defined(SVR4) && !defined(__FreeBSD__)
sigsetmask,
#ifndef __linux__
sigstack,
sigvec,
#endif
#endif
socket,
socketpair,
stat,
......@@ -144,7 +140,7 @@ swapon,
symlink,
sync,
syscall,
#if defined(__linux__) || defined(hpux) || defined(SVR4)
#if defined(hpux) || defined(SVR4)
closedir,
opendir,
readdir,
......@@ -211,14 +207,14 @@ gethostbyname,
gethostbyaddr,
/* Other random things. */
#if defined(SVR4) || defined(__linux__)
#if defined(SVR4)
setpgid,
getpgid,
timezone,
altzone,
daylight,
tzname,
#if !defined(__linux__) && !defined (irix)
#if !defined (irix)
dlopen,
dlsym,
dlclose,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment