From d08ab9ced75e0d88827e0bb58183612afb7fe1fd Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 21 Dec 2016 14:30:56 +0100 Subject: 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. --- csu/libc-tls.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'csu/libc-tls.c') diff --git a/csu/libc-tls.c b/csu/libc-tls.c index 235ac79..8f92234 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 -- cgit v1.1