brintos

brintos / llvm-project-archived public Read only

0
0
Text · 763 B · 3f78593 Raw
32 lines · plain
1@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-apple-darwin10 -filetype=obj -o - < %s | llvm-readobj -r --expand-relocs - | FileCheck %s2 3_fred:4	movt	r3, :upper16:(_wilma-(LPC0_0+4))5LPC0_0:6 7_wilma:8  .long 09 10@ CHECK: File: <stdin>11@ CHECK: Format: Mach-O arm12@ CHECK: Arch: arm13@ CHECK: AddressSize: 32bit14@ CHECK: Relocations [15@ CHECK:   Section __text {16@ CHECK:     Relocation {17@ CHECK:       Offset: 0x018@ CHECK:       PCRel: 019@ CHECK:       Length: 320@ CHECK:       Type: ARM_RELOC_HALF_SECTDIFF (9)21@ CHECK:       Value: 0x422@ CHECK:     }23@ CHECK:     Relocation {24@ CHECK:       Offset: 0xFFFC25@ CHECK:       PCRel: 026@ CHECK:       Length: 327@ CHECK:       Type: ARM_RELOC_PAIR (1)28@ CHECK:       Value: 0x429@ CHECK:     }30@ CHECK:   }31@ CHECK: ]32