aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/executable-undefined-protected-ignoreall.s
blob: 967a6938867076d5fe11bf65113cc34442dc5bb8 (plain)
1
2
3
4
5
6
7
8
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld %t -o /dev/null --unresolved-symbols=ignore-all -pie 2>&1 | FileCheck %s
# CHECK: error: undefined symbol: foo

.protected foo
_start:
callq foo@PLT