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