a.c (263B)
1 /* TLS local-exec: _Thread_local with initializer. 2 * Exercises R_AARCH64_TLSLE_* reloc apply + .tdata layout in PT_TLS. 3 * Linker today panics in link_reloc_apply on TLSLE kinds. */ 4 _Thread_local int tls_x = 7; 5 int test_main(void) { return tls_x == 7 ? 0 : 1; }