<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
</head>
<body>
<style type="text/css">
img {
max-width: 100%; height: auto;
}
</style>
<div class="content">
<h3>
Raymond Toy pushed to branch rtoy-mmap-anon-control-and-binding-stacks
at <a href="https://gitlab.common-lisp.net/cmucl/cmucl">cmucl / cmucl</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/603fb6a031a14f9d25c4664fd5ae9543a8e6a8bf">603fb6a0</a></strong>
<div>
<span>by Raymond Toy</span>
<i>at 2016-05-10T19:13:32-07:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap">Add RELOCATABLE_STACK_START to control stack spaces for linux.
When RELOCATABLE_STACK_START is defined, the control stack, binding
stack, and sigalt stack are located wherever mmap finds room for them.</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#620f2ecad2bb6f74b2fcd0134963a841" style="text-decoration: none">
src/lisp/Config.x86_linux
</a>
</li>
<li class="file-stats">
<a href="#ad29afc395839758d41094872298bd0d" style="text-decoration: none">
src/lisp/x86-validate-linux.h
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="620f2ecad2bb6f74b2fcd0134963a841">
<a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/603fb6a031a14f9d25c4664fd5ae9543a8e6a8bf#diff-0">
<strong>
src/lisp/Config.x86_linux
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="background: #ffdddd; color: #000000">--- a/src/lisp/Config.x86_linux
</span><span style="background: #ddffdd; color: #000000">+++ b/src/lisp/Config.x86_linux
</span><span style="color: #aaaaaa">@@ -1,7 +1,7 @@
</span> # -*- Mode: makefile -*-
include Config.x86_common
<span style="background: #ffdddd; color: #000000">-CPPFLAGS += -m32 -D__NO_CTYPE -D_GNU_SOURCE
</span><span style="background: #ddffdd; color: #000000">+CPPFLAGS += -m32 -D__NO_CTYPE -D_GNU_SOURCE -DRELOCATABLE_STACK_START
</span> CFLAGS += -rdynamic -march=pentium4 -mfpmath=sse -mtune=generic
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
</code></pre>
<br>
</li>
<li id="ad29afc395839758d41094872298bd0d">
<a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/603fb6a031a14f9d25c4664fd5ae9543a8e6a8bf#diff-1">
<strong>
src/lisp/x86-validate-linux.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="background: #ffdddd; color: #000000">--- a/src/lisp/x86-validate-linux.h
</span><span style="background: #ddffdd; color: #000000">+++ b/src/lisp/x86-validate-linux.h
</span><span style="color: #aaaaaa">@@ -45,17 +45,17 @@
</span> #define STATIC_SPACE_START (SpaceStart_TargetStatic)
#define STATIC_SPACE_SIZE (0x0ffff000) /* 256MB - 1 page */
<span style="background: #ffdddd; color: #000000">-#if 0
</span><span style="background: #ddffdd; color: #000000">+#ifdef RELOCATABLE_STACK_START
</span> #define BINDING_STACK_START (0x20000000)
#endif
#define BINDING_STACK_SIZE (0x07fff000) /* 128MB - 1 page */
<span style="background: #ffdddd; color: #000000">-#if 0
</span><span style="background: #ddffdd; color: #000000">+#ifdef RELOCATABLE_STACK_START
</span> #define CONTROL_STACK_START 0x38000000
#endif
#define CONTROL_STACK_SIZE (0x07fff000 - 8192)
<span style="background: #ffdddd; color: #000000">-#if 0
</span><span style="background: #ddffdd; color: #000000">+#ifdef RELOCATABLE_STACK_START
</span> #define SIGNAL_STACK_START CONTROL_STACK_END
#endif
#define SIGNAL_STACK_SIZE SIGSTKSZ
</code></pre>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px">
<p style="color: #777; font-size: small">
—
<br>
<a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/603fb6a031a14f9d25c4664fd5ae9543a8e6a8bf">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.common-lisp.net.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.common-lisp.net/cmucl/cmucl/commit/603fb6a031a14f9d25c4664fd5ae9543a8e6a8bf"}}</script>
</p>
</div>
</body>
</html>