X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=fa2da8a2b274ee0b9c5397ba5c4ceef3aade5a80;hb=b7f3ef098847a4cc680f6304cec735b63bb70a0a;hp=e5fbade2c4c050b84a3f628982c76870efb3b637;hpb=1071bf1ca8292aeeef4a684d277f1e6b4693865a;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index e5fbade..fa2da8a 100644 --- a/make-config.sh +++ b/make-config.sh @@ -219,7 +219,10 @@ case "$sbcl_os" in printf ' :bsd' >> $ltf printf ' :darwin' >> $ltf if [ $sbcl_arch = "x86" ]; then - printf ' :sb-lutex :restore-fs-segment-register-from-tls' >> $ltf + printf ' :mach-exception-handler :sb-lutex :restore-fs-segment-register-from-tls' >> $ltf + fi + if [ $sbcl_arch = "x86-64" ]; then + printf ' :mach-exception-handler :sb-lutex' >> $ltf fi link_or_copy $sbcl_arch-darwin-os.h target-arch-os.h link_or_copy bsd-os.h target-os.h @@ -271,7 +274,7 @@ cd $original_dir # if we're building for x86. -- CSR, 2002-02-21 Then we do something # similar with :STACK-GROWS-FOOWARD, too. -- WHN 2002-03-03 if [ "$sbcl_arch" = "x86" ]; then - printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack' >> $ltf + printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack :unwind-to-frame-and-call-vop' >> $ltf printf ' :stack-allocatable-closures :alien-callbacks' >> $ltf if [ "$sbcl_os" = "linux" ] || [ "$sbcl_os" = "freebsd" ] || [ "$sbcl_os" = "netbsd" ] || [ "$sbcl_os" = "sunos" ] || [ "$sbcl_os" = "darwin" ] || [ "$sbcl_os" = "win32" ]; then printf ' :linkage-table' >> $ltf @@ -282,7 +285,7 @@ if [ "$sbcl_arch" = "x86" ]; then printf ' :os-provides-dlopen' >> $ltf fi elif [ "$sbcl_arch" = "x86-64" ]; then - printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack :linkage-table' >> $ltf + printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack :linkage-table :unwind-to-frame-and-call-vop' >> $ltf printf ' :stack-allocatable-closures :alien-callbacks' >> $ltf elif [ "$sbcl_arch" = "mips" ]; then printf ' :linkage-table' >> $ltf