Skip to content

Commit

Permalink
* elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition.
Browse files Browse the repository at this point in the history
	* sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here.
  • Loading branch information
Ulrich Drepper committed Nov 15, 2005
1 parent 2461e3d commit fcae3b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2005-11-14 Ulrich Drepper <drepper@redhat.com>

* elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition.
* sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here.

2005-11-11 Ulrich Drepper <drepper@redhat.com>

* io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,
Expand Down
6 changes: 0 additions & 6 deletions elf/dl-open.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@
#include <dl-dst.h>


#ifndef SHARED
/* Giving this initialized value preallocates some surplus bytes in the
static TLS area, see __libc_setup_tls (libc-tls.c). */
size_t _dl_tls_static_size = 2048;
#endif

extern ElfW(Addr) _dl_sysdep_start (void **start_argptr,
void (*dl_main) (const ElfW(Phdr) *phdr,
ElfW(Word) phnum,
Expand Down
5 changes: 3 additions & 2 deletions sysdeps/generic/libc-tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ bool _dl_tls_dtv_gaps;
struct dtv_slotinfo_list *_dl_tls_dtv_slotinfo_list;
/* Number of modules in the static TLS block. */
size_t _dl_tls_static_nelem;
/* Size of the static TLS block. */
size_t _dl_tls_static_size;
/* Size of the static TLS block. Giving this initialized value
preallocates some surplus bytes in the static TLS area. */
size_t _dl_tls_static_size = 2048;
/* Size actually allocated in the static TLS block. */
size_t _dl_tls_static_used;
/* Alignment requirement of the static TLS block. */
Expand Down

0 comments on commit fcae3b7

Please sign in to comment.