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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to