arm_farcall_arm_thumb.s 289 B

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