diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-08-13 21:53:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-08-13 21:53:30 -0400 |
commit | 9d35fec9e1f391d56faee20b868ef4114bcc4d8a (patch) | |
tree | f79e4eb6ed40d51ec2ade7603fcbebf323f994e9 /src/math/__signbitl.c | |
parent | b19fa247831bedd78fe4a671786883a25ddb6ca1 (diff) | |
download | musl-9d35fec9e1f391d56faee20b868ef4114bcc4d8a.tar.gz musl-9d35fec9e1f391d56faee20b868ef4114bcc4d8a.tar.bz2 musl-9d35fec9e1f391d56faee20b868ef4114bcc4d8a.tar.xz musl-9d35fec9e1f391d56faee20b868ef4114bcc4d8a.zip |
fix regression whereby main thread didn't get TLS relocations
commit ffab43602b5900c86b7040abdda8ccf6cdec95f5 broke this by moving
relocations after not only the allocation of storage for the main
thread's static TLS, but after the copying of the TLS image. thus,
relocation results were not reflected in the main thread's copy. this
could be fixed by calling __reset_tls after relocations, but instead
split the allocation and installation before/after relocations so that
there's not a redundant copy.
due to commit 71af5309874269bcc9e4b84ea716fab33d888c1d, updating of
static_tls_cnt needs to be kept with allocation of static TLS, before
relocations, rather than after installation.
Diffstat (limited to 'src/math/__signbitl.c')
0 files changed, 0 insertions, 0 deletions