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 ...@@ -13,7 +13,7 @@ NM = nm -gp
UNDEFSYMPATTERN=-Xlinker -u -Xlinker & UNDEFSYMPATTERN=-Xlinker -u -Xlinker &
ASSEM_SRC = x86-assem.S ASSEM_SRC = x86-assem.S
ARCH_SRC = x86-arch.c 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_LINK_FLAGS=-static
OS_LIBS= -lgnumalloc OS_LIBS=# -lgnumalloc
GC_SRC= cgc.c GC_SRC= cgc.c
...@@ -9,6 +9,6 @@ NM = alpha-nm ...@@ -9,6 +9,6 @@ NM = alpha-nm
UNDEFSYMPATTERN=-Xlinker -u -Xlinker & UNDEFSYMPATTERN=-Xlinker -u -Xlinker &
ASSEM_SRC = alpha-assem.S ASSEM_SRC = alpha-assem.S
ARCH_SRC = alpha-arch.c 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_LINK_FLAGS=-static
OS_LIBS= OS_LIBS=
...@@ -8,7 +8,7 @@ ASFLAGS = -O -DNEW_FORMAT ...@@ -8,7 +8,7 @@ ASFLAGS = -O -DNEW_FORMAT
UNDEFSYMPATTERN=-u & UNDEFSYMPATTERN=-u &
ASSEM_SRC = hppa-assem.S ASSEM_SRC = hppa-assem.S
ARCH_SRC = hppa-arch.c ARCH_SRC = hppa-arch.c
OS_SRC = hpux-os.c OS_SRC = hpux-os.c undefineds.c
OS_LINK_FLAGS= -Wl,-a,archive OS_LINK_FLAGS= -Wl,-a,archive
OS_LIBS= -lBSD /lib/pa1.1/libm.a OS_LIBS= -lBSD /lib/pa1.1/libm.a
......
...@@ -8,7 +8,7 @@ ASFLAGS = -g ...@@ -8,7 +8,7 @@ ASFLAGS = -g
UNDEFSYMPATTERN=-u & UNDEFSYMPATTERN=-u &
ASSEM_SRC = hppa-assem.S ASSEM_SRC = hppa-assem.S
ARCH_SRC = hppa-arch.c 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_LINK_FLAGS=
OS_LIBS=-lmach -lthreads OS_LIBS=-lmach -lthreads
......
...@@ -7,6 +7,6 @@ NM = nm -gp ...@@ -7,6 +7,6 @@ NM = nm -gp
UNDEFSYMPATTERN=-Xlinker -u -Xlinker & UNDEFSYMPATTERN=-Xlinker -u -Xlinker &
ASSEM_SRC = mips-assem.S ASSEM_SRC = mips-assem.S
ARCH_SRC = mips-arch.c 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_LINK_FLAGS=
OS_LIBS=-lmach OS_LIBS=-lmach
...@@ -15,6 +15,6 @@ NM = irix-nm ...@@ -15,6 +15,6 @@ NM = irix-nm
UNDEFSYMPATTERN=-Xlinker -u -Xlinker & UNDEFSYMPATTERN=-Xlinker -u -Xlinker &
ASSEM_SRC = mips-assem.S ASSEM_SRC = mips-assem.S
ARCH_SRC = mips-arch.c 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_LINK_FLAGS= -non_shared
OS_LIBS= OS_LIBS=
...@@ -6,6 +6,6 @@ ASFLAGS = -g ...@@ -6,6 +6,6 @@ ASFLAGS = -g
NM = nm -gp NM = nm -gp
ASSEM_SRC = sparc-assem.S ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c 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_LINK_FLAGS=
OS_LIBS=-lmach OS_LIBS=-lmach
...@@ -9,6 +9,6 @@ DEPEND_FLAGS = -traditional-cpp ...@@ -9,6 +9,6 @@ DEPEND_FLAGS = -traditional-cpp
NM = ./solaris-nm NM = ./solaris-nm
ASSEM_SRC = sparc-assem.S ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c 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_LINK_FLAGS=
OS_LIBS= -lsocket -lnsl -ldl OS_LIBS= -lsocket -lnsl -ldl
...@@ -8,7 +8,7 @@ COMPILE.S = as -P $(CPPFLAGS) ...@@ -8,7 +8,7 @@ COMPILE.S = as -P $(CPPFLAGS)
NM = ./solaris-nm NM = ./solaris-nm
ASSEM_SRC = sparc-assem.S ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c 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_LINK_FLAGS=
OS_LIBS= -lsocket -lnsl -ldl OS_LIBS= -lsocket -lnsl -ldl
......
...@@ -6,6 +6,6 @@ ASFLAGS = -O ...@@ -6,6 +6,6 @@ ASFLAGS = -O
NM = nm -gp NM = nm -gp
ASSEM_SRC = sparc-assem.S ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c 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_LINK_FLAGS= -Xlinker -Bstatic
OS_LIBS= 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 all: lisp.nm
...@@ -15,7 +15,7 @@ endif ...@@ -15,7 +15,7 @@ endif
SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c \ 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 \ vars.c parse.c interrupt.c search.c validate.c globals.c \
dynbind.c breakpoint.c regnames.c backtrace.c save.c purify.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} ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC}
OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS)))) OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS))))
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* Much hacked by Paul Werkowski * Much hacked by Paul Werkowski
* Morfed from the FreeBSD file by Peter Van Eynde (July 1996) * 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 */ ...@@ -85,7 +85,11 @@ __setfpucw(0x1372|4|8|16|32); /*no interrupts */
} }
int 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) sc_reg(struct sigcontext_struct *c, int offset)
#endif
{ {
switch(offset) switch(offset)
{ {
......
...@@ -19,10 +19,13 @@ ...@@ -19,10 +19,13 @@
#include <sys/syscall.h> #include <sys/syscall.h>
#include <asm/unistd.h> #include <asm/unistd.h>
#include <errno.h> #include <errno.h>
#include <linux/version.h>
#define MAP_VARIABLE 0 #define MAP_VARIABLE 0
#define PRINTNOISE #define PRINTNOISE
/* #define DEBUG_SCAVENGE_VERBOSE */ /* #define DEBUG_SCAVENGE_VERBOSE */
#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c))
typedef caddr_t os_vm_address_t; /* like hpux */ typedef caddr_t os_vm_address_t; /* like hpux */
typedef size_t os_vm_size_t; /* like hpux */ typedef size_t os_vm_size_t; /* like hpux */
typedef off_t os_vm_offset_t; /* like hpux */ typedef off_t os_vm_offset_t; /* like hpux */
...@@ -34,17 +37,30 @@ typedef int os_vm_prot_t; /* like hpux */ ...@@ -34,17 +37,30 @@ typedef int os_vm_prot_t; /* like hpux */
#define OS_VM_DEFAULT_PAGESIZE 4096 /* 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); int sc_reg(struct sigcontext_struct *,int);
#endif
void os_save_context(void); void os_save_context(void);
#define SAVE_CONTEXT os_save_context #define SAVE_CONTEXT os_save_context
#if LINUX_VERSION_CODE >= linuxversion(2,1,0)
typedef struct sigcontext sigcontext;
#else
typedef struct sigcontext_struct sigcontext; typedef struct sigcontext_struct sigcontext;
#endif
#define POSIX_SIGS #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 HANDLER_ARGS int signal, struct sigcontext_struct contextstruct
#define GET_CONTEXT int code=0; struct sigcontext_struct *context=&contextstruct; #define GET_CONTEXT int code=0; struct sigcontext_struct *context=&contextstruct;
#endif
#define sigvec sigaction #define sigvec sigaction
#define sv_mask sa_mask #define sv_mask sa_mask
...@@ -55,7 +71,11 @@ typedef struct sigcontext_struct sigcontext; ...@@ -55,7 +71,11 @@ typedef struct sigcontext_struct sigcontext;
#define sc_pc eip #define sc_pc eip
#define sc_mask oldmask #define sc_mask oldmask
#define sc_sp esp #define sc_sp esp
#if LINUX_VERSION_CODE >= linuxversion(2,1,0)
#define sigcontext sigcontext
#else
#define sigcontext sigcontext_struct #define sigcontext sigcontext_struct
#endif
#define sa_sigaction sa_handler #define sa_sigaction sa_handler
#define SA_SIGINFO 0 #define SA_SIGINFO 0
#define sc_efl eflags #define sc_efl eflags
......
/* linux-stubs.S /* 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 These are needed because the locations of the
libraries are filled in by ld.so at runtime. libraries are filled in by ld.so at runtime.
...@@ -19,153 +19,951 @@ PVE_stub_ ## fct: ;\ ...@@ -19,153 +19,951 @@ PVE_stub_ ## fct: ;\
.L ## fct ## e1: ;\ .L ## fct ## e1: ;\
.size PVE_stub_ ## fct,.L ## fct ## e1-PVE_stub_ ## fct ; .size PVE_stub_ ## fct,.L ## fct ## e1-PVE_stub_ ## fct ;
doe(malloc) doe(abort)
doe(free) doe(abs)
doe(isatty)
doe(accept) doe(accept)
doe(access) doe(access)
doe(acct) doe(acct)
doe(acos)
doe(acosh)
doe(acoshl)
doe(acosl)
doe(addmntent)
doe(adjtime) 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(bind)
doe(bindresvport)
doe(brk) 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(chdir)
doe(chmod) doe(chmod)
doe(chown) doe(chown)
doe(chroot) 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(close)
doe(closedir)
doe(closelog)
doe(confstr)
doe(connect) doe(connect)
doe(copysign)
doe(copysignl)
doe(cos)
doe(cosh)
doe(coshl)
doe(cosl)
doe(creat) 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(dup)
doe(dup2) 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(execve)
doe(execvp)
doe(exit) doe(exit)
doe(exp)
doe(expl)
doe(expm1)
doe(expm1l)
doe(fabs)
doe(fabsl)
doe(fchdir)
doe(fchmod) doe(fchmod)
doe(fchown) doe(fchown)
doe(fclose)
doe(fcntl) 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(flock)
doe(flockfile)
doe(floor)
doe(floorl)
doe(fmod)
doe(fmodl)
doe(fnmatch)
doe(fopen)
doe(fork) 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(fstat)
doe(fstatfs)
doe(fsync) doe(fsync)
doe(ftell)
doe(ftime)
doe(ftok)
doe(ftruncate) 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(getdtablesize)
doe(getegid) doe(getegid)
doe(getenv)
doe(geteuid) doe(geteuid)
doe(getgid) doe(getgid)
doe(getgrent)
doe(getgrgid)
doe(getgrnam)
doe(getgroups) doe(getgroups)
doe(gethostbyaddr)
doe(gethostbyname)
doe(gethostent)
doe(gethostid) doe(gethostid)
doe(gethostname) doe(gethostname)
doe(getitimer) doe(getitimer)
doe(getlogin)
doe(getmntent)
doe(getnetbyaddr)
doe(getnetbyname)
doe(getnetent)
doe(getopt)
doe(getopt_long)
doe(getopt_long_only)
doe(getpagesize) doe(getpagesize)
doe(getpass)
doe(getpeername) doe(getpeername)
doe(getpgid)
doe(getpgrp) doe(getpgrp)
doe(getpid) doe(getpid)
doe(getppid) doe(getppid)
doe(getpriority) doe(getpriority)
doe(getprotobyname)
doe(getprotobynumber)
doe(getprotoent)
doe(getpw)
doe(getpwent)
doe(getpwnam)
doe(getpwuid)
doe(getrlimit) doe(getrlimit)
doe(getrpcbyname)
doe(getrpcbynumber)
doe(getrpcent)
doe(getrpcport)
doe(getrusage) doe(getrusage)
doe(gets)
doe(getservbyname)
doe(getservbyport)
doe(getservent)
doe(getsgent)
doe(getsgnam)
doe(getsid)
doe(getsockname) doe(getsockname)
doe(getsockopt) doe(getsockopt)
doe(getspent)
doe(getspnam)
doe(gettimeofday) doe(gettimeofday)
doe(getuid) 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(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(kill)
doe(killpg) 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(link)
doe(listen) 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(lseek)
doe(lstat) 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(mkdir)
doe(mkfifo)
doe(mknod) doe(mknod)
doe(mkstemp)
doe(mktemp)
doe(mktime)
doe(mlock)
doe(mlockall)
doe(mmap)
doe(modf)
doe(modfl)
doe(mount) 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(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(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(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(read)
doe(readdir)
doe(readdir_r)
doe(readlink) doe(readlink)
doe(readv) doe(readv)
doe(realloc)
doe(realpath)
doe(reboot) doe(reboot)
doe(recv) doe(recv)
doe(recvfrom) doe(recvfrom)
doe(recvmsg) doe(recvmsg)
doe(regcomp)
doe(regerror)
doe(regexec)
doe(regfree)
doe(register_printf_function)
doe(remove)
doe(remque)
doe(rename) 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(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(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(select)
doe(semctl)
doe(semget)
doe(semop)
doe(send) doe(send)
doe(sendmsg) doe(sendmsg)
doe(sendto) 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(setgroups)
doe(sethostent)
doe(sethostfile)
doe(sethostid) doe(sethostid)
doe(sethostname) doe(sethostname)
doe(setitimer) doe(setitimer)
doe(setkey)
doe(setlinebuf)
doe(setlocale)
doe(setlogmask)
doe(setmntent)
doe(setnetent)
doe(setpgid)
doe(setpgrp) doe(setpgrp)
doe(setpriority) doe(setpriority)
doe(setprotoent)
doe(setpwent)
doe(setregid) doe(setregid)
doe(setreuid) doe(setreuid)
doe(setrlimit) doe(setrlimit)
doe(setrpcent)
doe(setservent)
doe(setsgent)
doe(setsid)
doe(setsockopt) doe(setsockopt)
doe(setspent)
doe(setstate)
doe(settimeofday) 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(shutdown)
doe(sigaction)
doe(sigaddset)
doe(sigblock) 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(sigpause)
doe(sigpending)
doe(sigprocmask)
doe(sigreturn) doe(sigreturn)
doe(sigsetmask) doe(sigsetmask)
doe(sigsuspend)
doe(sin)
doe(sinh)
doe(sinhl)
doe(sinl)
doe(sleep)
doe(snprintf)
doe(socket) doe(socket)
doe(socketcall)
doe(socketpair) doe(socketpair)
doe(sprintf)
doe(sqrt)
doe(sqrtl)
doe(srand)
doe(srand48)
doe(srandom)
doe(sscanf)
doe(ssignal)
doe(stat) 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(swapon)
doe(symlink) doe(symlink)
doe(sync) doe(sync)
doe(sys_errlist)
doe(sys_nerr)
doe(sys_siglist)
doe(syscall) doe(syscall)
doe(closedir) doe(syscall_flock)
doe(opendir) doe(syscall_readv)
doe(readdir) 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(tcgetattr)
doe(tcgetpgrp)
doe(tcsendbreak)
doe(tcsetattr) 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(truncate)
doe(tsearch)
doe(ttyname)
doe(ttyname_r)
doe(twalk)
doe(tzname)
doe(tzset)
doe(ulckpwdf)
doe(ulimit)
doe(umask) doe(umask)
doe(umount) doe(umount)
doe(uname)
doe(ungetc)
doe(unlink) doe(unlink)
doe(unsetenv)
doe(uselib)
doe(usleep)
doe(ustat)
doe(utime)
doe(utimes) doe(utimes)
doe(utmpname)
doe(valloc)
doe(vasprintf)
doe(verr)
doe(verrx)
doe(vfork) doe(vfork)
doe(vfprintf)
doe(vfscanf)
doe(vhangup) 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(wait)
doe(wait3) 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(write)
doe(writev) doe(writev)
doe(cos) doe(xdr_array)
doe(sin) doe(xdr_authunix_parms)
doe(tan) doe(xdr_bool)
doe(acos) doe(xdr_bytes)
doe(asin) doe(xdr_callhdr)
doe(atan) doe(xdr_callmsg)
doe(atan2) doe(xdr_char)
doe(sinh) doe(xdr_cryptkeyarg)
doe(cosh) doe(xdr_cryptkeyarg2)
doe(tanh) doe(xdr_cryptkeyres)
doe(asinh) doe(xdr_des_block)
doe(acosh) doe(xdr_domainname)
doe(atanh) doe(xdr_double)
doe(exp) doe(xdr_enum)
doe(expm1) doe(xdr_float)
doe(log) doe(xdr_free)
doe(log10) doe(xdr_getcredres)
doe(log1p) doe(xdr_int)
doe(pow) doe(xdr_key_netstarg)
doe(cbrt) doe(xdr_key_netstres)
doe(sqrt) doe(xdr_keybuf)
doe(hypot) doe(xdr_keydat)
doe(gethostbyname) doe(xdr_keystatus)
doe(gethostbyaddr) doe(xdr_long)
doe(setpgid) doe(xdr_mapname)
doe(getpgid) doe(xdr_netnamestr)
doe(timezone) doe(xdr_netobj)
doe(altzone) doe(xdr_opaque)
doe(daylight) doe(xdr_opaque_auth)
doe(tzname) doe(xdr_passwd)
doe(dlopen) doe(xdr_peername)
doe(dlsym) doe(xdr_pmap)
doe(dlclose) doe(xdr_pmaplist)
doe(dlerror) doe(xdr_pointer)
doe(getwd) doe(xdr_reference)
doe(ttyname) 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. */ /* 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. */ /* Pick up all the syscalls. */
accept, accept,
...@@ -75,9 +75,7 @@ mknod, ...@@ -75,9 +75,7 @@ mknod,
mount, mount,
open, open,
pipe, pipe,
#ifndef __linux__
profil, profil,
#endif
ptrace, ptrace,
#ifdef mach #ifdef mach
quota, quota,
...@@ -110,7 +108,7 @@ setpgrp, ...@@ -110,7 +108,7 @@ setpgrp,
#if !defined(SVR4) || defined(SOLARIS25) #if !defined(SVR4) || defined(SOLARIS25)
setpriority, setpriority,
#endif #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, setquota,
#endif #endif
#if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25) #if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25)
...@@ -130,11 +128,9 @@ sigreturn, ...@@ -130,11 +128,9 @@ sigreturn,
#endif #endif
#if !defined(SVR4) && !defined(__FreeBSD__) #if !defined(SVR4) && !defined(__FreeBSD__)
sigsetmask, sigsetmask,
#ifndef __linux__
sigstack, sigstack,
sigvec, sigvec,
#endif #endif
#endif
socket, socket,
socketpair, socketpair,
stat, stat,
...@@ -144,7 +140,7 @@ swapon, ...@@ -144,7 +140,7 @@ swapon,
symlink, symlink,
sync, sync,
syscall, syscall,
#if defined(__linux__) || defined(hpux) || defined(SVR4) #if defined(hpux) || defined(SVR4)
closedir, closedir,
opendir, opendir,
readdir, readdir,
...@@ -211,14 +207,14 @@ gethostbyname, ...@@ -211,14 +207,14 @@ gethostbyname,
gethostbyaddr, gethostbyaddr,
/* Other random things. */ /* Other random things. */
#if defined(SVR4) || defined(__linux__) #if defined(SVR4)
setpgid, setpgid,
getpgid, getpgid,
timezone, timezone,
altzone, altzone,
daylight, daylight,
tzname, tzname,
#if !defined(__linux__) && !defined (irix) #if !defined (irix)
dlopen, dlopen,
dlsym, dlsym,
dlclose, 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