aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/dl-tls.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-04-10 22:43:01 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-10 22:43:01 -0400
commite6c61494125126d2ba77e5d99f83887a2ed49783 (patch)
tree1e1b67f306fd7acb967f9d9df32a0296f2ad9d79 /sysdeps/i386/dl-tls.h
parentc6489db3bdd6e484edcb34884955110612966997 (diff)
downloadglibc-e6c61494125126d2ba77e5d99f83887a2ed49783.tar
glibc-e6c61494125126d2ba77e5d99f83887a2ed49783.tar.gz
glibc-e6c61494125126d2ba77e5d99f83887a2ed49783.tar.bz2
glibc-e6c61494125126d2ba77e5d99f83887a2ed49783.zip
Fix memory leak in TLS of loaded objects.
Diffstat (limited to 'sysdeps/i386/dl-tls.h')
-rw-r--r--sysdeps/i386/dl-tls.h5
1 files changed, 4 insertions, 1 deletions
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)