1 # Check that the linker shows an error when object file has missed
2 # or unsupported ABI and ARCH flags or unsupported ASE flags.
4 # RUN: yaml2obj -format=elf -docnum 1 %s > %t-no-abi.o
5 # RUN: not lld -flavor gnu -target mipsel -e T -o %t.exe %t-no-abi.o 2>&1 | \
6 # RUN: FileCheck -check-prefix=INVALID-ABI %s
8 # RUN: yaml2obj -format=elf -docnum 2 %s > %t-mips16.o
9 # RUN: not lld -flavor gnu -target mipsel -e T -o %t.exe %t-mips16.o 2>&1 | \
10 # RUN: FileCheck -check-prefix=MIPS16 %s
12 # INVALID-ABI: Unsupported ABI
13 # MIPS16: Unsupported extension: MIPS16
27 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
43 Flags: [EF_MIPS_ABI_O32, EF_MIPS_ARCH_32, EF_MIPS_ARCH_ASE_M16]
48 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]