mirror of
https://github.com/fluencelabs/musl
synced 2025-06-30 07:02:41 +00:00
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 71f099cb7d
, 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.
This commit is contained in:
@ -14,12 +14,11 @@ struct __locale_struct {
|
||||
};
|
||||
|
||||
struct __libc {
|
||||
int has_thread_pointer;
|
||||
int can_do_threads;
|
||||
int threaded;
|
||||
int secure;
|
||||
size_t *auxv;
|
||||
volatile int threads_minus_1;
|
||||
size_t *auxv;
|
||||
FILE *ofl_head;
|
||||
volatile int ofl_lock[2];
|
||||
size_t tls_size;
|
||||
|
Reference in New Issue
Block a user