diff options
| author | joerg <joerg@NetBSD.org> | 2013-09-12 15:35:15 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2013-09-12 15:35:15 +0000 |
| commit | 0c705a2046bce9d11b34a4e4b780f89fd438f217 (patch) | |
| tree | 1a137c5b2c34b55af5b416a4cfa606dd625f7fd3 /lib/libc/stdlib/jemalloc.c | |
| parent | dd214a43d8bbd6222e09cc1d06509bb10238c33e (diff) | |
NetBSD certainly supports TLS in static applications if it supports TLS
on the platform at all.
Diffstat (limited to 'lib/libc/stdlib/jemalloc.c')
| -rw-r--r-- | lib/libc/stdlib/jemalloc.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libc/stdlib/jemalloc.c b/lib/libc/stdlib/jemalloc.c index b3c6f738542..e56af350ef4 100644 --- a/lib/libc/stdlib/jemalloc.c +++ b/lib/libc/stdlib/jemalloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: jemalloc.c,v 1.28 2012/03/21 14:32:22 christos Exp $ */ +/* $NetBSD: jemalloc.c,v 1.29 2013/09/12 15:35:15 joerg Exp $ */ /*- * Copyright (C) 2006,2007 Jason Evans <jasone@FreeBSD.org>. @@ -118,7 +118,7 @@ #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $"); */ -__RCSID("$NetBSD: jemalloc.c,v 1.28 2012/03/21 14:32:22 christos Exp $"); +__RCSID("$NetBSD: jemalloc.c,v 1.29 2013/09/12 15:35:15 joerg Exp $"); #ifdef __FreeBSD__ #include "libc_private.h" @@ -288,11 +288,6 @@ __strerror_r(int e, char *s, size_t l) # define SIZEOF_INT_2POW 2 #endif -/* We can't use TLS in non-PIC programs, since TLS relies on loader magic. */ -#if (!defined(PIC) && !defined(NO_TLS)) -# define NO_TLS -#endif - /* * Size and alignment of memory chunks that are allocated by the OS's virtual * memory system. |
