X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcold-init.lisp;h=ab221d1263457d3b894222e4103299d75c979de1;hb=de0a47a2f2b165f34177669bd9499135847b4897;hp=2b26328f01315f7e0b9a5a810266421c09893939;hpb=26987375eb9dae6e9b15084e317a04a6509dd05f;p=sbcl.git diff --git a/src/code/cold-init.lisp b/src/code/cold-init.lisp index 2b26328..ab221d1 100644 --- a/src/code/cold-init.lisp +++ b/src/code/cold-init.lisp @@ -197,15 +197,10 @@ (setf (svref *!load-time-values* (third toplevel-thing)) (funcall (second toplevel-thing)))) (:load-time-value-fixup - (setf (sap-ref-word (second toplevel-thing) 0) + (setf (sap-ref-word (int-sap (get-lisp-obj-address (second toplevel-thing))) + (third toplevel-thing)) (get-lisp-obj-address - (svref *!load-time-values* (third toplevel-thing))))) - #!+(and (or x86 x86-64) gencgc) - (:load-time-code-fixup - (sb!vm::!envector-load-time-code-fixup (second toplevel-thing) - (third toplevel-thing) - (fourth toplevel-thing) - (fifth toplevel-thing))) + (svref *!load-time-values* (fourth toplevel-thing))))) (t (!cold-lose "bogus fixup code in *!REVERSED-COLD-TOPLEVELS*")))) (t (!cold-lose "bogus function in *!REVERSED-COLD-TOPLEVELS*")))))