hanchenye-llvm-project/lld/test/elf/x86_64-kinds.test

15 lines
310 B
Plaintext
Raw Normal View History

RUN: lld -flavor ld -target x86_64-linux -o %t1 %p/Inputs/relocs.x86-64 \
RUN: && llvm-objdump -d %t1 | FileCheck %s -check-prefix=RELOCS
RELOCS: ELF64-x86-64
// R_X86_64_32S
RELOCS: c7 04 25
RELOCS-NOT: 00 00 00 00
RELOCS: 05 00 00 00 movl
// R_X86_64_PC32
RELOCS: e8
RELOCS-NOT: 00 00 00 00
RELOCS: callq