tls-relax-ie-le-3.s 237 B

123456789101112
  1. # Test TLS IE to TLS LE relaxation when using arbitrary registers.
  2. .section .tdata
  3. var:
  4. .word 2
  5. .text
  6. mrs x2, tpidr_el0
  7. adrp x15, :gottprel:var
  8. ldr x15, [x15, #:gottprel_lo12:var]
  9. add x15, x2, x15
  10. ldr w0, [x15]
  11. .section .tdata