aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s
blob: 70e7062c940e7fc998fa022a9e8d524cade175f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Test TLS IE to TLS LE relaxation when using arbitrary registers.

	.section	.tdata
var:
	.word	2
	.text
	mrs	x2, tpidr_el0
	adrp	x15, :gottprel:var
	ldr	x15, [x15, #:gottprel_lo12:var]
	add	x15, x2, x15
	ldr	w0, [x15]
	.section	.tdata