2 # Check deducing MIPS specific ELF header flags from `emulation`.
4 # RUN: echo -n "BLOB" > %t.binary
5 # RUN: ld.lld -m elf32btsmip -r -b binary %t.binary -o %t.out
6 # RUN: llvm-readobj -h %t.out | FileCheck -check-prefix=O32 %s
8 # RUN: echo -n "BLOB" > %t.binary
9 # RUN: ld.lld -m elf32btsmipn32 -r -b binary %t.binary -o %t.out
10 # RUN: llvm-readobj -h %t.out | FileCheck -check-prefix=N32 %s
12 # RUN: echo -n "BLOB" > %t.binary
13 # RUN: ld.lld -m elf64btsmip -r -b binary %t.binary -o %t.out
14 # RUN: llvm-readobj -h %t.out | FileCheck -check-prefix=N64 %s
17 # O32-NEXT: EF_MIPS_ABI_O32
21 # N32-NEXT: EF_MIPS_ABI2