tls-gdgotrelm.s 388 B

12345678910111213141516171819202122232425262728
  1. .text
  2. .ifndef r
  3. .set r,1
  4. .endif
  5. .macro doit
  6. .global tlsdsofngdgotrelm\@
  7. .type tlsdsofngdgotrelm\@,@function
  8. .p2align 1
  9. tlsdsofngdgotrelm\@:
  10. move.w x\@:GDGOTREL16,$r10
  11. .Lfe\@:
  12. .size tlsdsofngdgotrelm\@,.Lfe\@-tlsdsofngdgotrelm\@
  13. .globl x\@
  14. .section .tdata,"awT",@progbits
  15. .p2align 0
  16. .type x\@, @object
  17. .size x\@, 1
  18. x\@:
  19. .byte 40
  20. .previous
  21. .endm
  22. .rept r
  23. doit
  24. .endr