Home | History | Annotate | Download | only in ARM
      1 // RUN: llvm-mc -triple=armeb-eabi -mattr v7,vfp2 -filetype=obj < %s | llvm-objdump -s - | FileCheck %s
      2 
      3 	.syntax unified
      4 	.text
      5 	.align	2
      6 	.code 16
      7 
      8 @ARM::fixup_arm_thumb_bl
      9 .section s_thumb_bl,"ax",%progbits
     10 // CHECK-LABEL: Contents of section s_thumb_bl
     11 // CHECK: 0000 f000f801
     12  	bl thumb_bl_label
     13 	nop
     14 thumb_bl_label:
     15 
     16 @ARM::fixup_arm_thumb_blx
     17 // CHECK-LABEL: Contents of section s_thumb_bl
     18 // CHECK: 0000 f000e802
     19 .section s_thumb_blx,"ax",%progbits
     20  	blx thumb_blx_label+8
     21 thumb_blx_label:
     22 
     23 @ARM::fixup_arm_thumb_br
     24 .section s_thumb_br,"ax",%progbits
     25 // CHECK-LABEL: Contents of section s_thumb_br
     26 // CHECK: 0000 e000bf00
     27  	b thumb_br_label
     28 	nop
     29 thumb_br_label:
     30 
     31 @ARM::fixup_arm_thumb_bcc
     32 .section s_thumb_bcc,"ax",%progbits
     33 // CHECK-LABEL: Contents of section s_thumb_bcc
     34 // CHECK: 0000 d000bf00
     35  	beq thumb_bcc_label
     36 	nop
     37 thumb_bcc_label:
     38 
     39 @ARM::fixup_arm_thumb_cb
     40 .section s_thumb_cb,"ax",%progbits
     41 // CHECK-LABEL: Contents of section s_thumb_cb
     42 // CHECK: 0000 b100bf00
     43  	cbz r0, thumb_cb_label
     44 	nop
     45 thumb_cb_label:
     46 
     47 @ARM::fixup_arm_thumb_cp
     48 .section s_thumb_cp,"ax",%progbits
     49 // CHECK-LABEL: Contents of section s_thumb_cp
     50 // CHECK: 0000 4801bf00
     51  	ldr r0, =thumb_cp_label
     52 	nop
     53 	nop
     54 thumb_cp_label:
     55 
     56 @ARM::fixup_arm_thumb_adr_pcrel_10
     57 .section s_thumb_adr_pcrel_10,"ax",%progbits
     58 // CHECK-LABEL: Contents of section s_thumb_adr_pcrel_10
     59 // CHECK: 0000 a000bf00
     60 	adr r0, thumb_adr_pcrel_10_label
     61 	nop
     62 thumb_adr_pcrel_10_label:
     63 
     64