Get TLS information without readelf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all. I'd like to use tls (specifically __thread) with g++ but without a standard library. For the moment all my variables are zero initalized. How should I get the TLS memory size? I can see all the information I need in the TLS header after I build the binary by using "readelf -l". I'll need "MemSiz", possibly "Align" and once I have non zero thread locals I'll need VirtAddr and FileSiz. Is there a way to export these as a symbol/global variable?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux