Home | History | Annotate | Download | only in ARM
      1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -filetype=obj -o - < %s | macho-dump --dump-section-data | FileCheck %s
      2 .thumb
      3 .thumb_func t
      4 t:	nop
      5 
      6 .data
      7 .space 4441096 - 4 - 2
      8 
      9 .section __TEXT, __branch, regular, pure_instructions
     10 .thumb
     11 .thumb_func b
     12 b:
     13 	bl	t
     14 # CHECK: '_section_data', 'c3f7fcf5'
     15 # We are checking that the branch and link instruction which is:
     16 #	bl	#-4441096
     17 # has it displacement encoded correctly with respect to the J1 and J2 bits when
     18 # the branch is assembled with a label not a displacement.
     19 # rdar://10149689
     20