aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/emit-relocs-local-addend-bar.s
blob: ab8b0fbdcb31501309f588e5a8b7118e24558f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
	.global	b
	.section	.rodata
	.align	3
.LC0:
	.string	"bar"
	.align	3
	.type	b, %object
	.size	b, 8
b:
	.xword	.LC0
	.text
	.align	2
	.global	bar
	.type	bar, %function
bar:
	adrp	x0, .LC0
	add	x0, x0, :lo12:.LC0
	ret
	.size	bar, .-bar