ldso: remove redundant runtime checks in static TLS logic
authorRich Felker <dalias@aerifal.cx>
Sun, 11 Aug 2019 15:57:38 +0000 (11:57 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 11 Aug 2019 15:57:38 +0000 (11:57 -0400)
commit71af5309874269bcc9e4b84ea716fab33d888c1d
treebc1a8838513dac5d5f527e4ec301bf097cf67a63
parentffab43602b5900c86b7040abdda8ccf6cdec95f5
ldso: remove redundant runtime checks in static TLS logic

as a result of commit ffab43602b5900c86b7040abdda8ccf6cdec95f5,
static_tls_cnt is now valid during relocations at program startup, so
it's no longer necessary to condition the check against static_tls_cnt
on this being a runtime (dlopen) relocation.
ldso/dynlink.c