[cmucl-commit] [git] CMU Common Lisp branch master updated. snapshot-2014-11-35-gef38247

Raymond Toy rtoy at common-lisp.net
Wed Dec 3 02:22:03 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".

The branch, master has been updated
       via  ef3824719adb38bf923d493d91942d304523ea29 (commit)
       via  85c9daef724604a5c84b13aa8fc88255e380d0be (commit)
      from  df425339e0cf09ef687c491e99f6c10238f56b85 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ef3824719adb38bf923d493d91942d304523ea29
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Tue Dec 2 18:10:52 2014 -0800

    #ifdef out some debugging code for os_dlsym.

diff --git a/src/lisp/Darwin-os.c b/src/lisp/Darwin-os.c
index e1120ab..53d2db5 100644
--- a/src/lisp/Darwin-os.c
+++ b/src/lisp/Darwin-os.c
@@ -534,7 +534,7 @@ os_dlsym(const char *sym_name, lispobj lib_list)
     void *sym_addr = 0;
     int offset = sym_name[0] == '_' ? 1 : 0;
 
-#if 1
+#if 0
     if (offset == 0) {
         fprintf(stderr, "sym-name = %s\n", sym_name);
     }

commit 85c9daef724604a5c84b13aa8fc88255e380d0be
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Mon Dec 1 23:14:31 2014 -0800

    Add support for ppc. Not yet working, but OPT_EXTRA value appears to
    be needed, especially the __LINKEDIT address, like on i386.

diff --git a/src/tools/linker.sh b/src/tools/linker.sh
index a0050b9..a5a99ef 100755
--- a/src/tools/linker.sh
+++ b/src/tools/linker.sh
@@ -99,14 +99,17 @@ case $uname_s in
 	    # when creating the executable on 10.8.  (See ticket:112.)
 
 	    OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -rdynamic -mmacosx-version-min=10.5"
+	    OS_LIBS=
 	    ;;
 	powerpc)
-	    # Nothing needed for ppc?
+	    # See Config.ppc_darwin Like i386, __LINKEDIT is linked
+	    # just after the dynamic space which messes things up, so
+	    # we move it to a diffferent address. The address below
+	    # appears to be free.
+	    OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -mmacosx-version-min=10.4 -static-libgcc"
+	    OS_LIBS="-lSystem -lc -lm"
 	    ;;
       esac
-
-      # See Config.x86_darwin
-      OS_LIBS=
       ;;
   SunOS)
       # A quick test indicates that gcc will accept the following

-----------------------------------------------------------------------

Summary of changes:
 src/lisp/Darwin-os.c |  2 +-
 src/tools/linker.sh  | 11 +++++++----
 2 files changed, 8 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
CMU Common Lisp


More information about the cmucl-commit mailing list