From 27906b13bdc733fe9e413c23ef74fafa6c273808 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Sat, 31 Jul 2010 02:55:17 +0000
Subject: [PATCH] Put back the segment address for Darwin.  If we don't, vmmap
 prints error messages about being unable being unable to read zones for
 malloc.  Don't know if that's a bug in vmmap or not, but that doesn't sound
 good, and the message go away if we define seg addresses again.

---
 tools/linker-x86.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/linker-x86.sh b/tools/linker-x86.sh
index 201d14cf8..65ad00dcf 100644
--- a/tools/linker-x86.sh
+++ b/tools/linker-x86.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $Id: linker-x86.sh,v 1.5 2010/07/31 02:45:45 rtoy Exp $
+# $Id: linker-x86.sh,v 1.6 2010/07/31 02:55:17 rtoy Exp $
 
 # This file written by Raymond Toy as part of CMU Common Lisp and is
 # placed in the public domain.
@@ -50,9 +50,9 @@ case `uname` in
       ;;
   Darwin*)
       # How to specify the starting address for each of the sections
-      #RO_ADDR="-segaddr CORRO $4"
-      #STATIC_ADDR="-segaddr CORSTA $5"
-      #DYN_ADDR="-segaddr CORDYN $6"
+      RO_ADDR="-segaddr CORRO $4"
+      STATIC_ADDR="-segaddr CORSTA $5"
+      DYN_ADDR="-segaddr CORDYN $6"
 
       # Specify how to link the entire lisp.a library
       OPT_ARCHIVE="-all_load $CMUCLLIB/lisp.a"
-- 
GitLab