[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / executable-undefined-ignoreall.s
blob073b22bd84543a6cb3cff8dc95ce5ae70e4c72e3
1 # REQUIRES: x86
3 ## --unresolved-symbols=ignore-all behaves similar to -shared:
4 ## for PLT relocations to undefined symbols, produce dynamic relocations if we
5 ## emit .dynsym.
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
14 # CHECK-NEXT: }
15 # CHECK-NEXT: ]
17 _start:
18 callq foo@PLT