Home | History | Annotate | Download | only in ARM
      1 // RUN: llvm-mc -triple=thumbeb-eabi -mattr v7,vfp2 -filetype=obj < %s | llvm-objdump -s - | FileCheck %s
      2 
      3 	.syntax unified
      4 	.text
      5 	.align	2
      6 
      7 @ARM::fixup_t2_movw_lo16
      8 .section s_movw,"ax",%progbits
      9 // CHECK-LABEL: Contents of section s_movw
     10 // CHECK: 0000 f2400008
     11 	movw	r0, :lower16:(some_label+8)
     12 
     13 @ARM::fixup_t2_movt_hi16
     14 .section s_movt,"ax",%progbits
     15 // CHECK-LABEL: Contents of section s_movt
     16 // CHECK: 0000 f6cf70fc
     17 	movt	r0, :upper16:GOT-(movt_label)
     18 movt_label:
     19 
     20 @ARM::fixup_t2_uncondbranch
     21 .section s_uncondbranch,"ax",%progbits
     22 // CHECK-LABEL: Contents of section s_uncondbranch
     23 // CHECK: 0000 f000b801 bf00
     24  	b.w uncond_label
     25 	nop
     26 uncond_label:
     27 
     28 @ARM::fixup_t2_condbranch
     29 .section s_condbranch,"ax",%progbits
     30 // CHECK-LABEL: Contents of section s_condbranch
     31 // CHECK: 0000 f0008001 bf00
     32  	beq.w cond_label
     33 	nop
     34 cond_label:
     35 
     36 @ARM::fixup_t2_ldst_precel_12
     37 .section s_ldst_precel_12,"ax",%progbits
     38  	ldr r0, ldst_precel_12_label
     39 	nop
     40 	nop
     41 ldst_precel_12_label:
     42 
     43 @ARM::fixup_t2_adr_pcrel_12
     44 .section s_adr_pcrel_12,"ax",%progbits
     45  	adr r0, adr_pcrel_12_label
     46 	nop
     47 	nop
     48 adr_pcrel_12_label:
     49 
     50