20 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s3# CHECK: error: {{.*}}.o: symbol (1) has invalid binding: 94 5--- !ELF6FileHeader:7 Class: ELFCLASS648 Data: ELFDATA2LSB9 OSABI: ELFOSABI_GNU10 Type: ET_REL11 Machine: EM_X86_6412Sections:13 - Name: .text14 Type: SHT_PROGBITS15 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]16Symbols:17 - Name: foo18 Section: .text19 Binding: 0x920