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(LISP_FEATURE_FREEBSD) \
41 || defined(__OpenBSD__) \
42 || defined(__NetBSD__) \
43 || defined(__DragonFly__)
64 #if !defined(hpux) && !defined(SVR4)
71 #if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25) || defined(irix)
80 #if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25)
87 #if !defined(SVR4) || defined(SOLARIS25)
91 #if !defined(SOLARIS) || defined(SOLARIS25)
100 #if !defined(SOLARIS) || defined(SOLARIS25)
136 #if !defined(SUNOS) && !(defined(SOLARIS) || defined(SOLARIS25))
139 #if !defined(SVR4) || defined(SOLARIS25)
145 #if !defined(SVR4) || defined(SOLARIS25)
152 #if !defined(hpux) && !defined(SVR4) && !defined(LISP_FEATURE_X86)
158 #if !defined(SVR4) && !defined(LISP_FEATURE_FREEBSD) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
165 #if !defined(SVR4) && !defined(__OpenBSD__)
171 #if defined(hpux) || defined(SVR4) || defined(__linux__)
181 || defined(LISP_FEATURE_FREEBSD) \
182 || defined(__OpenBSD__) \
183 || defined(__NetBSD__) \
184 || defined(__DragonFly__) \
185 || defined(__linux__)
198 #if !defined(SUNOS) \
199 && !defined(parisc) \
200 && !defined(SOLARIS) \
201 && !defined(__OpenBSD__) \
202 && !defined(LISP_FEATURE_FREEBSD) \
203 && !defined(__DragonFly__) \
204 && !defined(__NetBSD__)
214 #if !defined(osf1) && !defined(LISP_FEATURE_FREEBSD) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
219 #if !defined(SOLARIS) || defined(SOLARIS25)
252 #ifndef LISP_FEATURE_X86
260 /* network support */
264 /* other miscellaneous things */
265 /* FIXME: NetBSD plays some renaming games, and so cannot simply
266 reference symbols here. "NetBSD needs to get fixed here too PEM
268 #if defined(SVR4) || defined(LISP_FEATURE_FREEBSD)
272 #if !defined(LISP_FEATURE_FREEBSD)