aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-kvx/limit-goto.s
blob: f90211444ad5af8cb76de42f8258d1b2a84428b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Test maximum encoding range of call

	.global _start
	.global bar

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

	.text

_start:
	goto bar
	;;
	ret
	;;

# We will place the section .foo at 0x10000000

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