fix breakage due to initializing thread pointer when loading libs
authorRich Felker <dalias@aerifal.cx>
Mon, 8 Oct 2012 00:19:11 +0000 (20:19 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 8 Oct 2012 00:19:11 +0000 (20:19 -0400)
commit017bf140ffb41e9a016df84dc4c1806e0686b28a
tree0bebd70ff013cf5f65375c4a4d0a26eff716cf0a
parent00902c7384963192dda8a15938786a36dca7d7ab
fix breakage due to initializing thread pointer when loading libs

at initial program load, all libraries must be loaded before the
thread pointer can be setup, since the TP-relative addresses of all
initial TLS objects must be constant.
src/ldso/dynlink.c