1.0.27.13: more RET on x86oids
[sbcl.git] / src / code / save.lisp
index c7b5b6d..d4f183e 100644 (file)
@@ -125,6 +125,7 @@ sufficiently motivated to do lengthy fixes."
   (labels ((restart-lisp ()
              (handling-end-of-the-world
                (reinit)
+               #!+hpux (sb!sys:%primitive sb!vm::setup-return-from-lisp-stub)
                (funcall toplevel)))
            (foreign-bool (value)
              (if value 1 0))
@@ -137,12 +138,12 @@ sufficiently motivated to do lengthy fixes."
                ;; since the GC will invalidate the stack.
                #!+gencgc (gc-and-save (unix-namestring core-file-name nil)
                                       (foreign-bool executable)
-                                      (foreign-bool save-runtime-options))
+                                      (foreign-bool save-runtime-options)))
              (without-gcing
               (save (unix-namestring core-file-name nil)
                     (get-lisp-obj-address #'restart-lisp)
                     (foreign-bool executable)
-                    (foreign-bool save-runtime-options))))))
+                    (foreign-bool save-runtime-options)))))
     ;; Save the restart function into a static symbol, to allow GC-AND-SAVE
     ;; access to it even after the GC has moved it.
     #!+gencgc