aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/emit-relocs-310.s
blob: abcbd3437ac722f2f38ebf8c7c381895ca24afdf (plain)
1
2
3
4
5
6
7
8
9
10
11
	.text
	ldr	x1, .Lgot
	adr	x2, .Lgot
	add	x1, x2, x1

	ldr	x0, [x1, #:gotoff_lo15:globala]
	ldr	x0, [x1, #:gotoff_lo15:globalb]
	ldr	x0, [x1, #:gotoff_lo15:globalc]

.Lgot:
	.dword _GLOBAL_OFFSET_TABLE_ - .