summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-03-01 21:59:23 +0000
committerandrew <andrew@FreeBSD.org>2013-03-01 21:59:23 +0000
commit0542e230f823d21b65362dd6575a212e82d79bf5 (patch)
tree43bffe6d2ca470aff53cfa4084368c9e3ee8ae8e
parent54fb726d9b32179cee99e8e32cc6fffe36dfca7c (diff)
downloadFreeBSD-src-0542e230f823d21b65362dd6575a212e82d79bf5.zip
FreeBSD-src-0542e230f823d21b65362dd6575a212e82d79bf5.tar.gz
Increase the maximum text size on ARM to 64MiB. Without this clang would be
sent a SIGABRT when it is loaded as it is too large. This is the smallest power of two MiB value that allows us to execute clang. While here wrap it in an #ifndef to be consistent with the other architectures. Submitted by: Daisuke Aoyama <aoyama at peach.ne.jp>
-rw-r--r--sys/arm/include/vmparam.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h
index 53c40d2..aec94f8 100644
--- a/sys/arm/include/vmparam.h
+++ b/sys/arm/include/vmparam.h
@@ -153,7 +153,9 @@
VM_MIN_KERNEL_ADDRESS + 1) * 2 / 5)
#endif
-#define MAXTSIZ (16*1024*1024)
+#ifndef MAXTSIZ
+#define MAXTSIZ (64*1024*1024)
+#endif
#ifndef DFLDSIZ
#define DFLDSIZ (128*1024*1024)
#endif
OpenPOWER on IntegriCloud