Home | History | Annotate | Download | only in ld-arm
      1 @ Test to ensure that a Thumb to ARM call within 4Mb does not generate a stub.
      2 
      3 	.global _start
      4 	.syntax unified
      5 
      6 @ We will place the section .text at 0x1000.
      7 
      8 	.text
      9 	.thumb_func
     10 _start:
     11 	bl bar
     12 
     13 @ We will place the section .foo at 0x2014.
     14 
     15 	.section .foo, "xa"
     16 
     17 	.arm
     18 	.type bar, %function
     19 bar:
     20 	bx lr
     21 
     22