mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
10 lines
146 B
ArmAsm
10 lines
146 B
ArmAsm
|
.section .tdata
|
||
|
var:
|
||
|
.word 2
|
||
|
.text
|
||
|
mrs x1, tpidr_el0
|
||
|
adrp x0, :gottprel:var
|
||
|
ldr x0, [x0, #:gottprel_lo12:var]
|
||
|
add x0, x1, x0
|
||
|
ldr w0, [x0]
|