summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-03-11 21:35:38 +0000
committermarius <marius@FreeBSD.org>2011-03-11 21:35:38 +0000
commit83676a4b3da14e744d0c31b03e0d273a19f97785 (patch)
treed99793111e24cd55d35501e5e918c2461c006fd7 /lib
parentdd7c472938dc931d72a5cc8a83df77c70f38c102 (diff)
downloadFreeBSD-src-83676a4b3da14e744d0c31b03e0d273a19f97785.zip
FreeBSD-src-83676a4b3da14e744d0c31b03e0d273a19f97785.tar.gz
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index f1a13ef..48d9c14 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -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
OpenPOWER on IntegriCloud