From fea332e16416691310088b5c0e6797694c88352b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 11 Apr 2011 03:43:01 +0100 Subject: Fix memory leak in TLS of loaded objects. (cherry picked from commit e6c61494125126d2ba77e5d99f83887a2ed49783) --- sysdeps/i386/dl-tls.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sysdeps/i386') diff --git a/sysdeps/i386/dl-tls.h b/sysdeps/i386/dl-tls.h index 58705c778d..21b949bd12 100644 --- a/sysdeps/i386/dl-tls.h +++ b/sysdeps/i386/dl-tls.h @@ -1,5 +1,5 @@ /* Thread-local storage handling in the ELF dynamic linker. i386 version. - Copyright (C) 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 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 @@ -58,3 +58,6 @@ strong_alias (___tls_get_addr, ___tls_get_addr_internal) # endif #endif + +/* Value used for dtv entries for which the allocation is delayed. */ +#define TLS_DTV_UNALLOCATED ((void *) -1l) -- cgit 1.4.1