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 -target-abi n64 %s -o - \ 5 # RUN: | llvm-readobj -s | FileCheck --check-prefix=CHECK_64 %s 6 # RUN: llvm-mc -filetype=obj -triple=mipsel %s -target-abi 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-LABEL: Name: .MIPS.options 18 # CHECK_64-NEXT: Type: SHT_MIPS_OPTIONS 19 # CHECK_64-NEXT: Flags [ (0x8000002) 20 # CHECK_64: AddressAlignment: 8 21 # CHECK_64: EntrySize: 1 22 # CHECK_64-LABEL: } 23 24 # check for .reginfo 25 # CHECK_32: Sections [ 26 # CHECK_32: Section { 27 # CHECK_32-LABEL: Name: .reginfo 28 # CHECK_32-NEXT: Type: SHT_MIPS_REGINFO 29 # CHECK_32-NEXT: Flags [ (0x2) 30 # CHECK_32: AddressAlignment: 8 31 # CHECK_32: EntrySize: 24 32 # CHECK_32-LABEL: } 33