aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/limit-bl.s
blob: 72f47a559b6b3c914ea747d4dcb78f1677f8854e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Test maximum encoding range of bl

	.global _start
	.global bar

# We will place the section .text at 0x1000.

	.text

_start:
	bl bar
	ret

# We will place the section .foo at 0x8000ffc

	.section .foo, "xa"
	.type bar, @function
bar:
	ret