llvm-for-llvmta/test/Object/dynamic-reloc.test

13 lines
387 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
RUN: llvm-readobj -r %p/Inputs/dynamic-reloc.so | FileCheck --check-prefix=READOBJ %s
READOBJ: Relocations [
READOBJ-NEXT: Section (4) .rela.dyn {
READOBJ-NEXT: 0x1328 R_X86_64_RELATIVE - 0x1320
READOBJ-NEXT: }
READOBJ-NEXT: ]
RUN: llvm-objdump -r %p/Inputs/dynamic-reloc.so | FileCheck --check-prefix=OBJDUMP %s
OBJDUMP: file format elf64-x86-64
OBJDUMP-NOT: RELOCATION