• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %t.o
2# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
3# CHECK: error: {{.*}}.o: unexpected binding: 9
4
5--- !ELF
6FileHeader:
7  Class:      ELFCLASS64
8  Data:       ELFDATA2LSB
9  OSABI:      ELFOSABI_GNU
10  Type:       ET_REL
11  Machine:    EM_X86_64
12Sections:
13  - Name:     .text
14    Type:     SHT_PROGBITS
15    Flags:    [ SHF_ALLOC, SHF_EXECINSTR ]
16Symbols:
17  - Name:     foo
18    Section:  .text
19    Binding:  0x9
20