1 # RUN: rm -rf %t && mkdir %t && cd %t
2 # RUN: yaml2obj %s -o a.o
3 # RUN: not ld.lld a.o -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
5 # CHECK: error: a.o:(relr): unknown section type 0x13
6 # CHECK-NEXT: error: a.o:(regular): unknown section type 0x15
7 # CHECK-NEXT: error: a.o:(loos_nonconforming): unknown section type 0x60000000
8 # CHECK-NEXT: error: a.o:(hios_nonconforming): unknown section type 0x6fffffff
9 # CHECK-NEXT: error: a.o:(louser_alloc): unknown section type 0x80000000
10 # CHECK-NEXT: error: a.o:(hiuser_alloc): unknown section type 0xffffffff
27 - Name: loos_nonconforming
29 Flags: [ SHF_OS_NONCONFORMING ]
30 - Name: hios_nonconforming
32 Flags: [ SHF_OS_NONCONFORMING ]