1 # RUN: llvm-mc %s -triple mips-unknown-linux-gnu | \
2 # RUN: FileCheck %s -check-prefix=CHECK-ASM
4 # RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
5 # RUN: llvm-readobj --mips-abi-flags - | \
6 # RUN: FileCheck %s -check-prefix=CHECK-OBJ
8 # CHECK-ASM: .module hardfloat
10 # Check if the MIPS.abiflags section was correctly emitted:
11 # CHECK-OBJ: MIPS ABI Flags {
12 # CHECK-OBJ: FP ABI: Hard float (32-bit CPU, Any FPU) (0x5)
13 # CHECK-OBJ: CPR1 size: 32
14 # CHECK-OBJ: Flags 1 [ (0x1)
15 # CHECK-OBJ: ODDSPREG (0x1)
24 # FIXME: Test should include gnu_attributes directive when implemented.
25 # An explicit .gnu_attribute must be checked against the effective
26 # command line options and any inconsistencies reported via a warning.