1 // RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o - | \
2 // RUN: llvm-readobj -h | FileCheck %s
4 // From the commandline and defaults the following should be set:
5 // EF_MIPS_ARCH_32 (0x50000000)
6 // EF_MIPS_ABI_O32 (0x00001000)
7 // EF_MIPS_NOREORDER (0x00000001)
8 // EF_MIPS_PIC (0x00000002)
10 // Inline directives should set or unset the following:
11 // EF_MIPS_CPIC (0x00000004) : .abicalls
12 // EF_MIPS_ARCH_ASE_M16 (0x04000000) : .set mips16
13 // The negation of EF_MIPS_PIC : .option pic0
15 // CHECK: Flags [ (0x54001005)