zig/deps/lld/test/ELF/executable-undefined-ignoreall.s
2018-01-17 17:29:21 -05:00

14 lines
373 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %tout --unresolved-symbols=ignore-all -pie
# RUN: llvm-readobj -r %tout | FileCheck %s
# CHECK: Relocations [
# CHECK-NEXT: Section ({{.*}}) .rela.plt {
# CHECK-NEXT: 0x2018 R_X86_64_JUMP_SLOT foo 0x0
# CHECK-NEXT: }
# CHECK-NEXT: ]
_start:
callq foo@PLT