tlsgd11.s 217 B

123456789101112131415
  1. .text
  2. .globl _start
  3. _start:
  4. .byte 0x66
  5. leaq foo@TLSGD(%rip), %rdi
  6. .word 0x6666
  7. rex64
  8. call __tls_get_addr
  9. .globl foo
  10. .section .tdata,"awT",@progbits
  11. .align 4
  12. .type foo, @object
  13. .size foo, 4
  14. foo:
  15. .long 100