From: aph Date: Tue, 20 Jan 2004 15:18:33 +0000 (+0000) Subject: 2004-01-20 Andrew Haley X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd01b541b92844f96f18c15fc6cacfab43f2454f;p=gc 2004-01-20 Andrew Haley * 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 --- diff --git a/ChangeLog b/ChangeLog index b590a1ff..ebdb8dd4 100644 --- a/ChangeLog +++ b/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/configure.in b/configure.in index ba5ccb96..f109c900 100644 --- a/configure.in +++ b/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/include/private/gcconfig.h b/include/private/gcconfig.h index 65e71479..a13ad2ef 100644 --- a/include/private/gcconfig.h +++ b/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