From 947b705a23ee35a84bae1df604b1540232618f74 Mon Sep 17 00:00:00 2001
From: aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 20 Jan 2004 15:18:33 +0000
Subject: [PATCH] 2004-01-20  Andrew Haley  <aph@redhat.com>

        * include/private/gcconfig.h (USE_MMAP): Define for all Linux.

        * configure.in: Comment change.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76210 138bc75d-0d04-0410-961f-82ee72b054a4
---
 boehm-gc/ChangeLog                  | 6 ++++++
 boehm-gc/configure.in               | 2 +-
 boehm-gc/include/private/gcconfig.h | 3 ++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index b590a1ff7253..ebdb8dd4afef 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-20  Andrew Haley  <aph@redhat.com>
+
+	* include/private/gcconfig.h (USE_MMAP): Define for all Linux.
+
+	* configure.in: Comment change.
+
 2004-01-16  Andrew Haley  <aph@redhat.com>
 
 	* configure.in (NO_EXECUTE_PERMISSION): Remove global declaration;
diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in
index ba5ccb9678d5..f109c9003edc 100644
--- a/boehm-gc/configure.in
+++ b/boehm-gc/configure.in
@@ -248,7 +248,7 @@ esac
 #
 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
 # anything else that creates trampolines in gc-allocated memory)
-# always needs exec permission.  The exception to this is IA-64 and
+# always needs exec permission.  The exceptions to this are IA-64 and
 # some variations of Power PC, where trampolines don't contain
 # executable code.
 #
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 65e71479892c..a13ad2ef835f 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -617,7 +617,8 @@
 #       define OS_TYPE "LINUX"
 #       define STACKBOTTOM ((ptr_t)0xf0000000)
 #       define USE_GENERIC_PUSH_REGS
-		/* We never got around to the assembly version. */
+#	     define USE_MMAP
+	      /* We never got around to the assembly version. */
 /* #       define MPROTECT_VDB - Reported to not work  9/17/01 */
 #       ifdef __ELF__
 #            define DYNAMIC_LOADING
-- 
GitLab