diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2013-03-01 21:59:23 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2013-03-01 21:59:23 +0000 |
commit | 5f61931668e0826d885e501456e11dae34c6732c (patch) | |
tree | 43bffe6d2ca470aff53cfa4084368c9e3ee8ae8e /sys/arm/include/vmparam.h | |
parent | 71ac38e8968b8b9e1980f05976836f33d4e0404f (diff) | |
download | src-5f61931668e0826d885e501456e11dae34c6732c.tar.gz src-5f61931668e0826d885e501456e11dae34c6732c.zip |
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>
Notes
Notes:
svn path=/head/; revision=247587
Diffstat (limited to 'sys/arm/include/vmparam.h')
-rw-r--r-- | sys/arm/include/vmparam.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h index 53c40d203f8f..aec94f82325e 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 |