aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/tls-tiny-ie.s
blob: 2132334f467023d469a2d6eaa7f3447ace27ff5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
	.global	v1
	.section	.tdata,"awT",%progbits
v1:
	.word	1

	.text

# Test tiny TLS IE.
	mrs	x2, tpidr_el0
	ldr	x0, #:gottprel:v1
	add	x0, x2, x0
	ldr	w0, [x0]