On Mon, 19 Mar 2012 09:15:08 +0100, Johannes Pfau <nos...@example.com> wrote:

And how do we get the TLS initialization data? If we placed it into an
array, like DMD does on OSX, we could use dlsym for dlopened libraries,
but what about initially loaded libraries?

That doesn't work because the symbols would collide.
If you made them local symbols OTOH you can't access
them through dlsym.
Use dl_iterate_phdr to get the initial image.

Reply via email to