1 # Check that LLD shows an error if .reginfo section has invalid size
3 # RUN: yaml2obj -format=elf %s > %t.o
4 # RUN: not lld -flavor gnu -target mipsel -o %t.exe %t.o 2>&1 | FileCheck %s
6 # CHECK: Invalid size of MIPS_REGINFO section
13 Flags: [ EF_MIPS_ABI_O32, EF_MIPS_ARCH_32 ]
17 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
21 Type: SHT_MIPS_REGINFO