Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2011 21:35:38 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r219535 - head/lib/libc/stdlib
Message-ID:  <201103112135.p2BLZcvl094320@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Fri Mar 11 21:35:38 2011
New Revision: 219535
URL: http://svn.freebsd.org/changeset/base/219535

Log:
  Now that TLS generally is available on sparc64 since r219534 turn on
  support for it. Note that while sparc64 also supports the static TLS
  model and thus tls_model("initial-exec"), using the default model
  turned out to yield slightly better buildstone performance.

Modified:
  head/lib/libc/stdlib/malloc.c

Modified: head/lib/libc/stdlib/malloc.c
==============================================================================
--- head/lib/libc/stdlib/malloc.c	Fri Mar 11 21:24:02 2011	(r219534)
+++ head/lib/libc/stdlib/malloc.c	Fri Mar 11 21:35:38 2011	(r219535)
@@ -234,7 +234,7 @@ __FBSDID("$FreeBSD$");
 #ifdef __sparc64__
 #  define LG_QUANTUM		4
 #  define LG_SIZEOF_PTR		3
-#  define NO_TLS
+#  define TLS_MODEL		/* default */
 #endif
 #ifdef __amd64__
 #  define LG_QUANTUM		4



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