2 * routines that must be linked into the core for Lisp to work
4 * but note this is only the BSD version, as per the FIXME
6 * FIXME: It's tedious and error-prone having to edit both this file and
7 * the analogous ldso-stubs.S file when we change the references to
8 * functions, enough so that it would probably be good to rewrite
9 * both files in terms of a shared list of function names.
10 * E.g. the function names could be in shared-function-names.h
11 * SHARED_FUNCTION(cos)
12 * SHARED_FUNCTION(sinh)
13 * SHARED_FUNCTION(strlen)
14 * etc. and the per-OS files could look like
15 * #define SHARED_FUNCTION(f) ....
16 * #include "shared-function-names.h"
17 * ...then going on to do OS-specific things
18 * "Once and only once."
22 * This software is part of the SBCL system. See the README file for
25 * This software is derived from the CMU CL system, which was
26 * written at Carnegie Mellon University and released into the
27 * public domain. The software is in the public domain and is
28 * provided with absolutely no warranty. See the COPYING and CREDITS
29 * files for more information.
32 /* Pick up all the syscalls. */
40 || defined(__FreeBSD__) \
41 || defined(__OpenBSD__)
61 #if !defined(hpux) && !defined(SVR4)
68 #if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25) || defined(irix)
77 #if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25)
84 #if !defined(SVR4) || defined(SOLARIS25)
88 #if !defined(SOLARIS) || defined(SOLARIS25)
97 #if !defined(SOLARIS) || defined(SOLARIS25)
133 #if !defined(SUNOS) && !(defined(SOLARIS) || defined(SOLARIS25))
136 #if !defined(SVR4) || defined(SOLARIS25)
141 #if !defined(SVR4) || defined(SOLARIS25)
148 #if !defined(hpux) && !defined(SVR4) && !defined(__i386__)
154 #if !defined(SVR4) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
167 #if defined(hpux) || defined(SVR4) || defined(__linux__)
177 || defined(__FreeBSD__) \
178 || defined(__OpenBSD__) \
179 || defined(__linux__)
192 #if !defined(SUNOS) \
193 && !defined(parisc) \
194 && !defined(SOLARIS) \
195 && !defined(__OpenBSD__) \
196 && !defined(__FreeBSD__)
206 #if !defined(osf1) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
210 #if !defined(SOLARIS) || defined(SOLARIS25)
251 /* network support */
255 /* other miscellaneous things */
256 #if defined(SVR4) || defined(__FreeBSD__)
260 #if !defined(__FreeBSD__)