1# These *MUST* match the output of gas compiled with the same triple and 2# corresponding options (-mabi=64 -> -mattr=+n64 for example). 3 4# RUN: llvm-mc -filetype=obj -triple=mips64el-linux -mattr=-n64,+n64 %s -o - \ 5# RUN: | llvm-readobj -s | FileCheck --check-prefix=CHECK_64 %s 6# RUN: llvm-mc -filetype=obj -triple=mipsel %s -mattr=-o32,+n32 -o - \ 7# RUN: | llvm-readobj -s | FileCheck --check-prefix=CHECK_32 %s 8 9# Check for register information sections. 10# 11 12# Check that the appropriate relocations were created. 13 14# check for .MIPS.options 15# CHECK_64: Sections [ 16# CHECK_64: Section { 17# CHECK_64: Name: .MIPS.options 18# CHECK_64-NEXT: Type: SHT_MIPS_OPTIONS 19# CHECK_64-NEXT: Flags [ (0x8000002) 20 21# check for .reginfo 22# CHECK_32: Sections [ 23# CHECK_32: Section { 24# CHECK_32: Name: .reginfo 25# CHECK_32-NEXT: Type: SHT_MIPS_REGINFO 26# CHECK_32-NEXT: Flags [ (0x2) 27