diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-04-10 22:43:01 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-04-10 22:43:01 -0400 |
commit | e6c61494125126d2ba77e5d99f83887a2ed49783 (patch) | |
tree | 1e1b67f306fd7acb967f9d9df32a0296f2ad9d79 /sysdeps/sparc/dl-tls.h | |
parent | c6489db3bdd6e484edcb34884955110612966997 (diff) | |
download | glibc-e6c61494125126d2ba77e5d99f83887a2ed49783.zip glibc-e6c61494125126d2ba77e5d99f83887a2ed49783.tar.gz glibc-e6c61494125126d2ba77e5d99f83887a2ed49783.tar.bz2 |
Fix memory leak in TLS of loaded objects.
Diffstat (limited to 'sysdeps/sparc/dl-tls.h')
-rw-r--r-- | sysdeps/sparc/dl-tls.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/sparc/dl-tls.h b/sysdeps/sparc/dl-tls.h index 6edf8d5..fb2535e 100644 --- a/sysdeps/sparc/dl-tls.h +++ b/sysdeps/sparc/dl-tls.h @@ -1,5 +1,5 @@ /* Thread-local storage handling in the ELF dynamic linker. SPARC version. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 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 @@ -27,3 +27,6 @@ typedef struct extern void *__tls_get_addr (tls_index *ti); + +/* Value used for dtv entries for which the allocation is delayed. */ +#define TLS_DTV_UNALLOCATED ((void *) -1l) |