diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-12-21 14:30:56 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-12-21 14:30:56 +0100 |
commit | d08ab9ced75e0d88827e0bb58183612afb7fe1fd (patch) | |
tree | 437b4b894b06b9252fb56e3e569da2ba59d5b180 /csu | |
parent | fcd942370ff863f67f971e255d30fb9c1f127607 (diff) | |
download | glibc-d08ab9ced75e0d88827e0bb58183612afb7fe1fd.tar.gz glibc-d08ab9ced75e0d88827e0bb58183612afb7fe1fd.tar.xz glibc-d08ab9ced75e0d88827e0bb58183612afb7fe1fd.zip |
Remove unused function _dl_tls_setup
Commit 7a5e3d9d633c828d84a9535f26b202a6179978e7 (elf: Assume TLS is initialized in _dl_map_object_from_fd) removed the last call of _dl_tls_setup, but did not remove the function itself.
Diffstat (limited to 'csu')
-rw-r--r-- | csu/libc-tls.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/csu/libc-tls.c b/csu/libc-tls.c index 235ac798ed..8f922341de 100644 --- a/csu/libc-tls.c +++ b/csu/libc-tls.c @@ -216,25 +216,6 @@ __libc_setup_tls (size_t tcbsize, size_t tcbalign) init_static_tls (memsz, MAX (TLS_TCB_ALIGN, max_align)); } -/* This is called only when the data structure setup was skipped at startup, - when there was no need for it then. Now we have dynamically loaded - something needing TLS, or libpthread needs it. */ -int -internal_function -_dl_tls_setup (void) -{ - init_slotinfo (); - init_static_tls ( -#if TLS_TCB_AT_TP - TLS_TCB_SIZE, -#else - 0, -#endif - TLS_TCB_ALIGN); - return 0; -} - - /* This is the minimal initialization function used when libpthread is not used. */ void |