svn commit: r276905 - head/sys/powerpc/include

Justin Hibbits jhibbits at FreeBSD.org
Sat Jan 10 06:54:11 UTC 2015


Author: jhibbits
Date: Sat Jan 10 06:54:10 2015
New Revision: 276905
URL: https://svnweb.freebsd.org/changeset/base/276905

Log:
  Increase default MAXTSIZ to allow execution of larger binaries.
  
  This allows executing static clang built with -O0.
  
  The value is configurable by a sysctl, so if one needs to clamp it down, they
  still can.
  
  Discussed with:	nwhitehorn,emaste

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

Modified: head/sys/powerpc/include/vmparam.h
==============================================================================
--- head/sys/powerpc/include/vmparam.h	Sat Jan 10 06:48:35 2015	(r276904)
+++ head/sys/powerpc/include/vmparam.h	Sat Jan 10 06:54:10 2015	(r276905)
@@ -38,7 +38,7 @@
 #define	USRSTACK	SHAREDPAGE
 
 #ifndef	MAXTSIZ
-#define	MAXTSIZ		(64*1024*1024)		/* max text size */
+#define	MAXTSIZ		(1*1024*1024*1024)		/* max text size */
 #endif
 
 #ifndef	DFLDSIZ


More information about the svn-src-head mailing list