limit-bl.d 300 B

1234567891011121314151617
  1. #name: aarch64-limit-bl
  2. #source: limit-bl.s
  3. #as:
  4. #ld: -Ttext 0x1000 --section-start .foo=0x8000ffc
  5. #objdump: -dr
  6. #...
  7. Disassembly of section .text:
  8. 0+1000 <_start>:
  9. 1000: 95ffffff bl 8000ffc <bar>
  10. 1004: d65f03c0 ret
  11. Disassembly of section .foo:
  12. 0+8000ffc <bar>:
  13. 8000ffc: d65f03c0 ret