arm_farcall_thumb_thumb.s 290 B

12345678910111213141516171819
  1. @ Test to ensure that a Thumb to Thumb call exceeding 4Mb generates a stub.
  2. .global _start
  3. .syntax unified
  4. @ We will place the section .text at 0x1000.
  5. .text
  6. .thumb_func
  7. _start:
  8. bl bar
  9. @ We will place the section .foo at 0x02001014.
  10. .section .foo, "xa"
  11. .thumb_func
  12. bar:
  13. bx lr