farcall-b.d 540 B

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