summaryrefslogtreecommitdiff
path: root/src/m
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-11 00:40:37 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-11 00:40:37 +0000
commit0bb2a95c8d29ed68999193ab408aadd7c620c4ca (patch)
tree07d7fea4fc91e60f91bb3acd4c45d4e17793ce57 /src/m
parent9e4632d6e422ad8aecded1f1faa5f3e5dd1d34ac (diff)
downloademacs-0bb2a95c8d29ed68999193ab408aadd7c620c4ca.tar.gz
[linux] (ULIMIT_BREAK_VALUE, SEGMENT_MASK): Moved from linux.h.
Diffstat (limited to 'src/m')
-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 5eef3f28d9e..d7e489707cd 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