[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / mips-elf-flags-binary.s
blob3278fa0c7e23f5fcef2bb41c314181552c510554
1 # REQUIRES: mips
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
16 # O32: Flags [
17 # O32-NEXT: EF_MIPS_ABI_O32
18 # O32-NEXT: ]
20 # N32: Flags [
21 # N32-NEXT: EF_MIPS_ABI2
22 # N32-NEXT: ]
24 # N64: Flags [
25 # N64-NEXT: ]