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 .thumb_func 8 9@ARM::fixup_arm_thumb_bl 10.section s_thumb_bl,"ax",%progbits 11// CHECK-LABEL: Contents of section s_thumb_bl 12// CHECK: 0000 f000f801 13 bl thumb_bl_label 14 nop 15thumb_bl_label: 16 17@ARM::fixup_arm_thumb_blx 18// CHECK-LABEL: Contents of section s_thumb_bl 19// CHECK: 0000 f000e802 20.section s_thumb_blx,"ax",%progbits 21 blx thumb_blx_label+8 22thumb_blx_label: 23 24@ARM::fixup_arm_thumb_br 25.section s_thumb_br,"ax",%progbits 26// CHECK-LABEL: Contents of section s_thumb_br 27// CHECK: 0000 e000bf00 28 b thumb_br_label 29 nop 30thumb_br_label: 31 32@ARM::fixup_arm_thumb_bcc 33.section s_thumb_bcc,"ax",%progbits 34// CHECK-LABEL: Contents of section s_thumb_bcc 35// CHECK: 0000 d000bf00 36 beq thumb_bcc_label 37 nop 38thumb_bcc_label: 39 40@ARM::fixup_arm_thumb_cb 41.section s_thumb_cb,"ax",%progbits 42// CHECK-LABEL: Contents of section s_thumb_cb 43// CHECK: 0000 b100bf00 44 cbz r0, thumb_cb_label 45 nop 46thumb_cb_label: 47 48@ARM::fixup_arm_thumb_cp 49.section s_thumb_cp,"ax",%progbits 50// CHECK-LABEL: Contents of section s_thumb_cp 51// CHECK: 0000 4801bf00 52 ldr r0, =thumb_cp_label 53 nop 54 nop 55thumb_cp_label: 56 57@ARM::fixup_arm_thumb_adr_pcrel_10 58.section s_thumb_adr_pcrel_10,"ax",%progbits 59// CHECK-LABEL: Contents of section s_thumb_adr_pcrel_10 60// CHECK: 0000 a000bf00 61 adr r0, thumb_adr_pcrel_10_label 62 nop 63thumb_adr_pcrel_10_label: 64 65