summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-aarch64/tlsle-symbol-offset.s
blob: 41088efe5ce392002d1408baa9e5c4fb1405b9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	.global	p
	.global	a
	.section	.tbss,"awT",%nobits
p:
	.zero   4096
a:
	.zero	52

	.text

# Compute the address of an integer within structure a, padded
# by an array of size 48

	mrs	x0, tpidr_el0
	add	x0, x0, #:tprel_hi12:a+48
	add	x0, x0, #:tprel_lo12_nc:a+48
	ret