1RUN: llvm-readobj -r %p/Inputs/dynamic-reloc.so | FileCheck --check-prefix=READOBJ %s
2
3READOBJ:      Relocations [
4READOBJ-NEXT:   Section (4) .rela.dyn {
5READOBJ-NEXT:     0x1328 R_X86_64_RELATIVE - 0x1320
6READOBJ-NEXT:   }
7READOBJ-NEXT: ]
8
9RUN: llvm-objdump -r %p/Inputs/dynamic-reloc.so | FileCheck --check-prefix=OBJDUMP %s
10
11OBJDUMP: file format elf64-x86-64
12OBJDUMP-NOT: RELOCATION
13