From 1bec19ccf7462019c3dc0987c818d8f7c55c5674 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Tue, 20 Jan 2004 15:18:33 +0000 Subject: [PATCH] gcconfig.h (USE_MMAP): Define for all Linux. 2004-01-20 Andrew Haley * include/private/gcconfig.h (USE_MMAP): Define for all Linux. * configure.in: Comment change. From-SVN: r76210 --- 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 b590a1ff725..ebdb8dd4afe 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,9 @@ +2004-01-20 Andrew Haley + + * include/private/gcconfig.h (USE_MMAP): Define for all Linux. + + * configure.in: Comment change. + 2004-01-16 Andrew Haley * configure.in (NO_EXECUTE_PERMISSION): Remove global declaration; diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in index ba5ccb9678d..f109c9003ed 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 65e71479892..a13ad2ef835 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