diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-04-11 03:43:01 +0100 |
---|---|---|
committer | Petr Baudis <pasky@ucw.cz> | 2011-05-27 00:34:07 +0200 |
commit | fea332e16416691310088b5c0e6797694c88352b (patch) | |
tree | 23bfe8977921ff52ed874beb4e74e5dba2587262 /elf/dl-tls.c | |
parent | 4e43f00fc3df9757f86bc82292e6d4ca7ccd701d (diff) | |
download | glibc-fea332e16416691310088b5c0e6797694c88352b.tar.gz glibc-fea332e16416691310088b5c0e6797694c88352b.tar.xz glibc-fea332e16416691310088b5c0e6797694c88352b.zip |
Fix memory leak in TLS of loaded objects.
(cherry picked from commit e6c61494125126d2ba77e5d99f83887a2ed49783)
Diffstat (limited to 'elf/dl-tls.c')
-rw-r--r-- | elf/dl-tls.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/elf/dl-tls.c b/elf/dl-tls.c index 824adc196d..ea94aa0130 100644 --- a/elf/dl-tls.c +++ b/elf/dl-tls.c @@ -1,5 +1,5 @@ /* Thread-local storage handling in the ELF dynamic linker. Generic version. - Copyright (C) 2002,2003,2004,2005,2006,2008 Free Software Foundation, Inc. + Copyright (C) 2002-2006,2008,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -33,9 +33,6 @@ to allow dynamic loading of modules defining IE-model TLS data. */ #define TLS_STATIC_SURPLUS 64 + DL_NNS * 100 -/* Value used for dtv entries for which the allocation is delayed. */ -#define TLS_DTV_UNALLOCATED ((void *) -1l) - /* Out-of-memory handler. */ #ifdef SHARED |