projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.24.27: target-thread cosmetics
[sbcl.git]
/
src
/
runtime
/
runtime.c
diff --git
a/src/runtime/runtime.c
b/src/runtime/runtime.c
index
6c2df40
..
159d7f6
100644
(file)
--- a/
src/runtime/runtime.c
+++ b/
src/runtime/runtime.c
@@
-70,6
+70,10
@@
#define SBCL_HOME "/usr/local/lib/sbcl/"
#endif
#define SBCL_HOME "/usr/local/lib/sbcl/"
#endif
+#ifdef LISP_FEATURE_HPUX
+extern void *return_from_lisp_stub;
+#endif
+
\f
/* SIGINT handler that invokes the monitor (for when Lisp isn't up to it) */
static void
\f
/* SIGINT handler that invokes the monitor (for when Lisp isn't up to it) */
static void
@@
-426,6
+430,10
@@
main(int argc, char *argv[], char *envp[])
if (initial_function == NIL) {
lose("couldn't find initial function\n");
}
if (initial_function == NIL) {
lose("couldn't find initial function\n");
}
+#ifdef LISP_FEATURE_HPUX
+ return_from_lisp_stub = (void *) ((char *)*((unsigned long *)
+ ((char *)initial_function - 1)) + 23);
+#endif
gc_initialize_pointers();
gc_initialize_pointers();