farcall-bl-section.s 237 B

1234567891011121314151617181920
  1. .global _start
  2. # We will place the section .text at 0x1000.
  3. .text
  4. _start:
  5. bl bar
  6. bl bar2
  7. ret
  8. # We will place the section .foo at 0x8001000.
  9. .section .foo, "xa"
  10. .type bar, @function
  11. bar:
  12. ret
  13. .type bar2, @function
  14. bar2:
  15. ret