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 5 6# Test that the .module directive sets the MT flag in .MIPS.abiflags when 7# assembling to boject files. 8 9# Test that the .moodule directive is re-emitted when expanding assembly. 10 11# CHECK-OBJ: ASEs 12# CHECK-OBJ-NEXT: MT (0x40) 13 14# CHECK-ASM: .module mt 15.module mt 16nop 17