1 # Check that LLD does not allow to mix 32 and 64-bit MIPS object files.
3 # RUN: yaml2obj -format=elf -docnum 1 %s > %t-32.o
4 # RUN: yaml2obj -format=elf -docnum 2 %s > %t-64.o
6 # RUN: not lld -flavor gnu -target mipsel -shared -o %t.so \
7 # RUN: %t-32.o %t-64.o 2>&1 | FileCheck %s
9 # CHECK: Bitness is incompatible with that of the selected target
18 Flags: [EF_MIPS_ABI_O32, EF_MIPS_ARCH_32]
23 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
34 Flags: [EF_MIPS_ARCH_64]
39 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]