brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · faf420e Raw
49 lines · plain
1# RUN: rm -rf %t && mkdir %t && cd %t2# RUN: yaml2obj %s -o a.o3# RUN: not ld.lld a.o 2>&1 | FileCheck %s --implicit-check-not=error:4 5# CHECK:      error: a.o:(relr): unknown section type 0x136# CHECK-NEXT: error: a.o:(regular): unknown section type 0x157# CHECK-NEXT: error: a.o:(loos_nonconforming): unknown section type 0x600000008# CHECK-NEXT: error: a.o:(hios_nonconforming): unknown section type 0x6fffffff9# CHECK-NEXT: error: a.o:(louser_alloc): unknown section type 0x8000000010# CHECK-NEXT: error: a.o:(hiuser_alloc): unknown section type 0xffffffff11 12--- !ELF13FileHeader:14  Class:           ELFCLASS6415  Data:            ELFDATA2LSB16  Type:            ET_REL17  Machine:         EM_X86_6418Sections:19  - Name:  relr20    Type:  1921  - Name:  regular22    Type:  2123  - Name:  loos24    Type:  0x6000000025  - Name:  hios26    Type:  0x6fffffff27  - Name:  loos_nonconforming28    Type:  0x6000000029    Flags: [ SHF_OS_NONCONFORMING ]30  - Name:  hios_nonconforming31    Type:  0x6fffffff32    Flags: [ SHF_OS_NONCONFORMING ]33 34  - Name:  loproc35    Type:  0x7000000036  - Name:  hiproc37    Type:  0x7fffffff38 39  - Name:  louser40    Type:  0x8000000041  - Name:  hiuser42    Type:  0xffffffff43  - Name:  louser_alloc44    Type:  0x8000000045    Flags: [ SHF_ALLOC ]46  - Name:  hiuser_alloc47    Type:  0xffffffff48    Flags: [ SHF_ALLOC ]49