aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-kvx/farcall-call-section.s
blob: 3b22fc66a8a5bce8a0812a7154f9e91822088dc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
	.global _start

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

	.text

_start:
	call bar
	;; 
	call bar2
	;; 
	ret
	;; 

# We will place the section .foo at 0x20001000.

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