aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/unknown-reloc.s
blob: b674a3bbc65762952958a45508cca4fa428f22a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=i386-pc-linux-gnu %s -o %t1.o
# RUN: llvm-mc -filetype=obj -triple=i386-pc-linux-gnu %S/Inputs/unknown-reloc.s -o %t2.o
# RUN: not ld.lld %t1.o %t2.o -o %t.out 2>&1 | FileCheck %s

# CHECK: do not know how to handle relocation 'R_386_PC8' (23)
# CHECK: do not know how to handle relocation 'R_386_8' (22)

.text
.global foo
foo:

.byte und-foo
.byte foo