Mesa (gallium-mesa-7.4): Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space

Alan Hourihane alanh at kemper.freedesktop.org
Thu Mar 26 10:36:05 PDT 2009


Module: Mesa
Branch: gallium-mesa-7.4
Commit: 66f972ab55aa213b7df6b1871029d54e6f30f462
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=66f972ab55aa213b7df6b1871029d54e6f30f462

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Mar 23 08:18:48 2009 -0600

Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>

(cherry picked from master, commit a06dd4de8756d7ebe99ed414c8d8dca5083241b8)

---

 src/mesa/main/execmem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c
index f95c318..b71846c 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -36,7 +36,7 @@
 
 
 
-#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__)
+#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__) || defined(__sun)
 
 /*
  * Allocate a large block of memory which can hold code then dole it out



More information about the mesa-commit mailing list