llvm-project/lld/test/elf/dynamic-library.test

19 lines
446 B
Plaintext

RUN: lld -core -target x86_64-linux %p/Inputs/use-shared.x86-64 \
RUN: %p/Inputs/shared.so-x86-64 -emit-yaml -output=- -noinhibit-exec \
RUN: -output-type=dynamic \
RUN: | FileCheck %s
CHECK: name: main
CHECK: kind: R_X86_64_PC32
CHECK: target: [[PLTNAME:[-a-zA-Z0-9_]+]]
CHECK: type: got
CHECK: R_X86_64_RELATIVE
CHECK: name: [[PLTNAME]]
CHECK: type: stub
CHECK: shared-library-atoms:
CHECK: name: foo
CHECK: load-name: shared.so-x86-64