1*56bb7041Schristos# test for call26 relaxation via linker stubs
2*56bb7041Schristos
3*56bb7041Schristos.globl text0
4*56bb7041Schristos.section text0, "ax", @progbits
5*56bb7041Schristos	call func0	# in same section
6*56bb7041Schristos	call func1	# in nearby section
7*56bb7041Schristos	call func2a	# in distant section
8*56bb7041Schristos	jmpi func2b	# also in distant section
9*56bb7041Schristos
10*56bb7041Schristosfunc0:
11*56bb7041Schristos	ret
12*56bb7041Schristos
13*56bb7041Schristos.section text1, "ax", @progbits
14*56bb7041Schristosfunc1:
15*56bb7041Schristos	nop
16*56bb7041Schristos	nop
17*56bb7041Schristos	call func2a	# in distant section
18*56bb7041Schristos	ret
19*56bb7041Schristos
20*56bb7041Schristos.section text2, "ax", @progbits
21*56bb7041Schristosfunc2a:
22*56bb7041Schristos	nop
23*56bb7041Schristos	nop
24*56bb7041Schristos	nop
25*56bb7041Schristos	ret
26*56bb7041Schristosfunc2b:
27*56bb7041Schristos	nop
28