1 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
2 # RUN: llvm-readobj --mips-abi-flags | FileCheck --check-prefix=CHECK-OBJ %s
3 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=asm -o - | \
4 # RUN: FileCheck --check-prefix=CHECK-ASM %s
6 # Test that the .module directive sets the MT flag in .MIPS.abiflags when
7 # assembling to boject files.
9 # Test that the .moodule directive is re-emitted when expanding assembly.
12 # CHECK-OBJ-NEXT: MT (0x40)
14 # CHECK-ASM: .module mt