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