Home | History | Annotate | Download | only in ARM
      1 @@ test st_value bit 0 of thumb function
      2 @ RUN: llvm-mc %s -triple=arm-freebsd-eabi -filetype=obj -o - | \
      3 @ RUN: elf-dump  | FileCheck %s
      4 
      5 
      6 	.syntax unified
      7         .text
      8         .globl  f
      9         .align  2
     10         .type   f,%function
     11         .code   16
     12         .thumb_func
     13 f:
     14         push    {r7, lr}
     15         mov     r7, sp
     16         bl      g
     17         pop     {r7, pc}
     18 
     19 @@ make sure an R_ARM_THM_CALL relocation is generated for the call to g
     20 @CHECK:        ('_relocations', [
     21 @CHECK:         (('r_offset', 0x00000004)
     22 @CHECK-NEXT:     ('r_sym', 0x{{[0-9a-fA-F]+}})
     23 @CHECK-NEXT:     ('r_type', 0x0a)
     24