1@ RUN: llvm-mc -filetype=obj -triple=armv7 %s -o %t 2@ RUN: llvm-readelf -r %t | FileCheck %s 3@ RUN: llvm-mc -filetype=obj -triple=armebv7 %s -o %t 4@ RUN: llvm-readelf -r %t | FileCheck %s 5 6@ CHECK: There are no relocations in this file. 7.syntax unified 8 9.globl foo 10foo: 11ldrd r0, r1, foo @ arm_pcrel_10_unscaled 12vldr d0, foo @ arm_pcrel_10 13adr r2, foo @ arm_adr_pcrel_12 14ldr r0, foo @ arm_ldst_pcrel_12 15 16.thumb 17.thumb_func 18 19.globl bar 20bar: 21adr r0, bar @ thumb_adr_pcrel_10 22adr.w r0, bar @ t2_adr_pcrel_12 23ldr.w pc, bar @ t2_ldst_pcrel_12 24