[−][src]Static sunrise_libuser::thread_local_storage::__tls_init_image_addr__
static __tls_init_image_addr__: u8
The address of the start of the TLS initialisation image in our .tdata
.
Because we don't want to read our own P_TLS
program header,
the linker provides a symbol for the start of the init image.
This is an absolute symbol, which means its "address" is actually its value, i.e. to get a pointer do:
ⓘThis example is not tested
let tls_init_image_addr: *const u8 = unsafe { &__tls_init_image_addr__ as *const u8 };