If I compile some code in C++11 with thread_local variables they are accessed directly relative to the base of the FS segment register. But how does this work in the context of a shared library? I think the storage relative to the FS-register has some fixed size which can't be extended.
Asked
Active
Viewed 42 times
0
-
1Does this answer your question? https://stackoverflow.com/questions/6611346/how-are-the-fs-gs-registers-used-in-linux-amd64 – n. m. could be an AI Oct 20 '22 at 04:18