1.0.39.13: restore darwin/ppc building
authorCyrus Harmon <ch-sbcl@bobobeach.com>
Sat, 12 Jun 2010 22:59:53 +0000 (22:59 +0000)
committerCyrus Harmon <ch-sbcl@bobobeach.com>
Sat, 12 Jun 2010 22:59:53 +0000 (22:59 +0000)
 * fix ldso stubs to work without the dlshim

 * hack to avoid calling dlclose on the main executable
   for darwin/ppc

src/code/unix-foreign-load.lisp
tools-for-build/ldso-stubs.lisp
version.lisp-expr

index e54250b..4e42440 100644 (file)
@@ -46,6 +46,9 @@
   (dlerror)
   (let (dlerror)
     (cond ((and (not objp) *runtime-dlhandle*)
+           ;; CLH: if we're on darwin/ppc we can't close
+           ;; *runtime-dlhandle* for some reason, so don't.
+           #!-(and darwin ppc)
            (dlclose *runtime-dlhandle*)
            (setf dlerror (dlerror)
                  *runtime-dlhandle* nil))
index bff22d8..61c0a5f 100644 (file)
@@ -113,8 +113,8 @@ ldso_stub__ ## fct: ;                           \\
 #!+(and darwin ppc) "
 #define LDSO_STUBIFY(fct)                       @\\
 .text                                           @\\
-.globl  _ldso_stub___ ## fct                     @\\
-_ldso_stub___ ## fct:                            @\\
+.globl  ldso_stub__ ## fct                      @\\
+ldso_stub__ ## fct:                             @\\
         b ldso_stub__ ## fct ## stub            @\\
 .symbol_stub ldso_stub__ ## fct ## stub:        @\\
 .indirect_symbol _ ## fct                       @\\
index 6e159a8..efb688d 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.39.12"
+"1.0.39.13"