arm_farcall_arm_arm.s 284 B

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