1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t -r --expand-relocs | FileCheck %s
3 // Test that we can forward reference a section.
9 // CHECK: Section {{.*}} .rela.text {
10 // CHECK: Relocation {
12 // CHECK: Type: R_X86_64_32S (11)
13 // CHECK: Symbol: .rodata
19 // There is only one .rodata symbol
22 // CHECK: Type: Section (0x3)
23 // CHECK: Section: .rodata
24 // CHECK-NOT: Section: .rodata