Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2013 21:59:24 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r247587 - head/sys/arm/include
Message-ID:  <201303012159.r21LxOgj007243@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303012159.r21LxOgj007243>