From 03d6a59e3a3c23db29a57f14b6ea9a8a0170a18d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 11 Aug 1995 00:40:37 +0000 Subject: [PATCH] [linux] (ULIMIT_BREAK_VALUE, SEGMENT_MASK): Moved from linux.h. --- src/m/intel386.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/m/intel386.h b/src/m/intel386.h index 5eef3f28d9..d7e489707c 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h @@ -243,3 +243,11 @@ NOTE-END */ #define HAVE_ALLOCA #define NO_ARG_ARRAY #endif + +#ifdef linux +/* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */ +/* we cannot get the maximum address for brk */ +#define ULIMIT_BREAK_VALUE (32*1024*1024) + +#define SEGMENT_MASK ((SEGMENT_SIZE)-1) +#endif -- 2.20.1