21 lines · plain
1@ RUN: llvm-mc -n -triple thumbv7-apple-darwin10 %s -filetype=obj -o %t.obj2@ RUN: llvm-readobj -S --sd - < %t.obj > %t.dump3@ RUN: FileCheck < %t.dump %s4 5@ When not using subsections-via-symbols, references to non-local symbols6@ in the same section can be resolved at assembly time w/o relocations.7 8 .syntax unified9 .text10 .thumb11 .thumb_func _foo12_foo:13 ldr r3, bar14bar:15 .long 016 17@ CHECK: RelocationCount: 018@ CHECK: SectionData (19@ CHECK: 0000: DFF80030 00000000 |...0....|20@ CHECK: )21