1 ## If "Symbol" is not specified for a relocation, the symbol index is assumed to be 0.
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-readobj -r %t | FileCheck %s
7 # CHECK-NEXT: Section (2) .rel.text {
8 # CHECK-NEXT: 0x1000 R_X86_64_RELATIVE -
9 # CHECK-NEXT: 0x1001 R_X86_64_PC32 -
22 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
29 Type: R_X86_64_RELATIVE
30 ## R_X86_64_PC32 should have a non-zero symbol index but we don't error.