brintos

brintos / llvm-project-archived public Read only

0
0
Text · 728 B · 3278fa0 Raw
26 lines · plain
1# REQUIRES: mips2# Check deducing MIPS specific ELF header flags from `emulation`.3 4# RUN: echo -n "BLOB" > %t.binary5# RUN: ld.lld -m elf32btsmip -r -b binary %t.binary -o %t.out6# RUN: llvm-readobj -h %t.out | FileCheck -check-prefix=O32 %s7 8# RUN: echo -n "BLOB" > %t.binary9# RUN: ld.lld -m elf32btsmipn32 -r -b binary %t.binary -o %t.out10# RUN: llvm-readobj -h %t.out | FileCheck -check-prefix=N32 %s11 12# RUN: echo -n "BLOB" > %t.binary13# RUN: ld.lld -m elf64btsmip -r -b binary %t.binary -o %t.out14# RUN: llvm-readobj -h %t.out | FileCheck -check-prefix=N64 %s15 16# O32:      Flags [17# O32-NEXT:   EF_MIPS_ABI_O3218# O32-NEXT: ]19 20# N32:      Flags [21# N32-NEXT:   EF_MIPS_ABI222# N32-NEXT: ]23 24# N64:      Flags [25# N64-NEXT: ]26