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)
142 #if !defined(SVR4) || defined(SOLARIS25)
149 #if !defined(hpux) && !defined(SVR4) && !defined(LISP_FEATURE_X86)
155 #if !defined(SVR4) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
168 #if defined(hpux) || defined(SVR4) || defined(__linux__)
178 || defined(__FreeBSD__) \
179 || defined(__OpenBSD__) \
180 || defined(__linux__)
193 #if !defined(SUNOS) \
194 && !defined(parisc) \
195 && !defined(SOLARIS) \
196 && !defined(__OpenBSD__) \
197 && !defined(__FreeBSD__)
207 #if !defined(osf1) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
211 #if !defined(SOLARIS) || defined(SOLARIS25)
244 #ifndef LISP_FEATURE_X86
252 /* network support */
256 /* other miscellaneous things */
257 #if defined(SVR4) || defined(__FreeBSD__)
261 #if !defined(__FreeBSD__)