3 ## --unresolved-symbols=ignore-all behaves similar to -shared:
4 ## for PLT relocations to undefined symbols, produce dynamic relocations if we
7 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
8 # RUN: ld.lld %t.o -o %t --unresolved-symbols=ignore-all -pie
9 # RUN: llvm-readobj -r %t | FileCheck %s
11 # CHECK: Relocations [
12 # CHECK-NEXT: Section ({{.*}}) .rela.plt {
13 # CHECK-NEXT: R_X86_64_JUMP_SLOT foo 0x0