2 # RUN: yaml2obj %s -o %t1.o
3 # RUN: echo ".global foo; foo:" > %t2.s
4 # RUN: llvm-mc %t2.s -o %t2.o -filetype=obj -triple x86_64-pc-linux
5 # RUN: not ld.lld %t1.o %t2.o -o /dev/null 2>&1 | FileCheck %s
6 # CHECK: error: unknown relocation (152) against symbol foo
7 # CHECK: error: unknown relocation (153) against symbol foo
13 OSABI: ELFOSABI_FREEBSD