aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-08-11 00:40:37 +0000
committerRichard M. Stallman <[email protected]>1995-08-11 00:40:37 +0000
commit03d6a59e3a3c23db29a57f14b6ea9a8a0170a18d (patch)
treeb90479fa6ec2983549e057593a913af772b8ff7a /src
parentee803128195bc2ae6fd22991aa2c42a459501df0 (diff)
[linux] (ULIMIT_BREAK_VALUE, SEGMENT_MASK): Moved from linux.h.
Diffstat (limited to 'src')
-rw-r--r--src/m/intel386.h8
1 files changed, 8 insertions, 0 deletions
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