1 #name: aarch64-farcall-b-none-function
2 #source: farcall-b-none-function.s
3 #as:
4 #ld: -Ttext 0x1000 --section-start .foo=0x8001000
5 #objdump: -dr
6 #...
7 
8 Disassembly of section .text:
9 
10 .* <_start>:
11     1000:	14000003 	b	100c <__bar_veneer>
12     1004:	d65f03c0 	ret
13     1008:	14000007 	b	1024 <__bar_veneer\+0x18>
14 
15 .* <__bar_veneer>:
16     100c:	90040010 	adrp	x16, 8001000 <bar>
17     1010:	91000210 	add	x16, x16, #0x0
18     1014:	d61f0200 	br	x16
19 	...
20 
21 Disassembly of section .foo:
22 
23 .* <bar>:
24  8001000:	d65f03c0 	ret
25