diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-05 01:20:52 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-05 01:20:52 +0000 |
commit | 581dc54b74e8131acbb06f7ebb8887815f1914c8 (patch) | |
tree | 9ae79006a5e1f1ae1714d928ebbae4545b3d45ac /elf/dl-minimal.c | |
parent | 855efb5f6ff9bef07b6faee4294e65517c5f7866 (diff) | |
download | glibc-581dc54b74e8131acbb06f7ebb8887815f1914c8.tar.gz glibc-581dc54b74e8131acbb06f7ebb8887815f1914c8.tar.xz glibc-581dc54b74e8131acbb06f7ebb8887815f1914c8.zip |
2002-08-04 Roland McGrath <roland@redhat.com>
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): New function, split out of _dl_allocate_tls. (_dl_allocate_tls_init): Likewise. (_dl_allocate_tls): Call those. * sysdeps/generic/ldsodefs.h: Declare them with attribute_hidden. * elf/rtld.c (dl_main): Call them separately instead of calling _dl_allocate_tls. Delay _dl_allocate_tls_init until after relocation is finished, so that the initializer data has been relocated before we copy it into the main thread's TLS block. * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Fix off-by-one error in loop conditions, prevented the last used module from being initialized.
Diffstat (limited to 'elf/dl-minimal.c')
0 files changed, 0 insertions, 0 deletions