Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib NetBSD certainly supports TLS in static appl...
details: https://anonhg.NetBSD.org/src/rev/96a0a8e0f08a
branches: trunk
changeset: 789896:96a0a8e0f08a
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Sep 12 15:35:15 2013 +0000
description:
NetBSD certainly supports TLS in static applications if it supports TLS
on the platform at all.
diffstat:
lib/libc/stdlib/jemalloc.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 54d5fc45de79 -r 96a0a8e0f08a lib/libc/stdlib/jemalloc.c
--- a/lib/libc/stdlib/jemalloc.c Thu Sep 12 14:45:18 2013 +0000
+++ b/lib/libc/stdlib/jemalloc.c Thu Sep 12 15:35:15 2013 +0000
@@ -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@localhost>.
@@ -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 @@
# 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.
Home |
Main Index |
Thread Index |
Old Index