Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-aarch64/undef-tls.s

14 lines
296 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.global get
.type get, %function
get:
.LFB0:
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:tls, lsl #12
add x0, x0, #:tprel_lo12_nc:tls
add x0, x0, #:dtprel_hi12:dtl
add x0, x0, #:dtprel_lo12:dtl
ret
.LFE0:
.size get, .-get