svn commit: r247587 - head/sys/arm/include

Andrew Turner andrew at FreeBSD.org
Fri Mar 1 21:59:24 UTC 2013


Author: andrew
Date: Fri Mar  1 21:59:23 2013
New Revision: 247587
URL: http://svnweb.freebsd.org/changeset/base/247587

Log:
  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>

Modified:
  head/sys/arm/include/vmparam.h

Modified: head/sys/arm/include/vmparam.h
==============================================================================
--- head/sys/arm/include/vmparam.h	Fri Mar  1 21:58:56 2013	(r247586)
+++ head/sys/arm/include/vmparam.h	Fri Mar  1 21:59:23 2013	(r247587)
@@ -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


More information about the svn-src-all mailing list