1 .section ".tdata", "awT", @progbits
17 addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
19 /* Dynamic TLS model, foo not known to be in the current object */
20 leal foo@TLSGD(,%ebx,1), %eax
21 call ___tls_get_addr@PLT
22 /* %eax now contains &foo */
24 /* Dynamic TLS model, bar and baz known to be in the current object */
25 leal bar@TLSLDM(%ebx), %eax
26 call ___tls_get_addr@PLT
28 /* Just show that there can be arbitrary instructions here */
31 leal bar@DTPOFF(%eax), %edx
32 /* %edx now contains &bar */
34 /* Again, arbitrary instructions */
37 leal baz@DTPOFF(%eax), %ecx
38 /* %ecx now contains &baz */