1# RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -mattr=+crc | \ 2# RUN: FileCheck %s -check-prefix=CHECK-ASM 3# 4# RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -filetype=obj -o - -mattr=+crc | \ 5# RUN: llvm-readobj -A - | \ 6# RUN: FileCheck %s -check-prefix=CHECK-OBJ 7 8# CHECK-ASM: .module nocrc 9 10# Check that MIPS.abiflags has no CRC flag. 11# CHECK-OBJ: MIPS ABI Flags { 12# CHECK-OBJ: ASEs [ (0x0) 13# CHECK-OBJ-NOT: ASEs [ (0x8000) 14# CHECK-OBJ-NOT: CRC (0x8000) 15# CHECK-OBJ: } 16 17 .module nocrc 18 19# FIXME: Test should include gnu_attributes directive when implemented. 20# An explicit .gnu_attribute must be checked against the effective 21# command line options and any inconsistencies reported via a warning. 22