remove remnants of support for running in no-thread-pointer mode
authorRich Felker <dalias@aerifal.cx>
Mon, 13 Apr 2015 23:24:51 +0000 (19:24 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 13 Apr 2015 23:24:51 +0000 (19:24 -0400)
commit19a1fe670acb3ab9ead0fe31859ca7d4fe40dd54
treec2a2b1e2e4ddb58416a925b1e64485ac4972f4e4
parent71f099cb7db821c51d8f39dfac622c61e54d794c
remove remnants of support for running in no-thread-pointer mode

since 1.1.0, musl has nominally required a thread pointer to be setup.
most of the remaining code that was checking for its availability was
doing so for the sake of being usable by the dynamic linker. as of
commit 71f099cb7db821c51d8f39dfac622c61e54d794c, this is no longer
necessary; the thread pointer is now valid before any libc code
(outside of dynamic linker bootstrap functions) runs.

this commit essentially concludes "phase 3" of the "transition path
for removing lazy init of thread pointer" project that began during
the 1.1.0 release cycle.
src/env/__init_tls.c
src/env/__stack_chk_fail.c
src/errno/__errno_location.c
src/internal/libc.h
src/ldso/dynlink.c
src/process/fork.c
src/thread/pthread_cancel.c
src/thread/pthread_create.c
src/thread/pthread_key_create.c
src/thread/pthread_setcancelstate.c