1@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-apple-darwin10 -filetype=obj -o - < %s | llvm-readobj -relocations -expand-relocs | FileCheck %s 2 3_fred: 4 movt r3, :upper16:(_wilma-(LPC0_0+4)) 5LPC0_0: 6 7_wilma: 8 .long 0 9 10@ CHECK: File: <stdin> 11@ CHECK: Format: Mach-O arm 12@ CHECK: Arch: arm 13@ CHECK: AddressSize: 32bit 14@ CHECK: Relocations [ 15@ CHECK: Section __text { 16@ CHECK: Relocation { 17@ CHECK: Offset: 0x0 18@ CHECK: PCRel: 0 19@ CHECK: Length: 3 20@ CHECK: Type: ARM_RELOC_HALF_SECTDIFF (9) 21@ CHECK: Value: 0x4 22@ CHECK: } 23@ CHECK: Relocation { 24@ CHECK: Offset: 0xFFFC 25@ CHECK: PCRel: 0 26@ CHECK: Length: 3 27@ CHECK: Type: ARM_RELOC_PAIR (1) 28@ CHECK: Value: 0x4 29@ CHECK: } 30@ CHECK: } 31@ CHECK: ] 32