blob: 7d098077dd5e7dd57712ddc1e0246b0b2b793697 [file] [log] [blame]
Daniel Sanders9cf3d3b2014-03-31 09:44:05 +00001# RUN: yaml2obj -format=elf %s | llvm-readobj -file-headers - | FileCheck %s
2!ELF
3FileHeader:
4 Class: ELFCLASS32
5 Data: ELFDATA2LSB
6 Type: ET_REL
7 Machine: EM_MIPS
Simon Atanasyanc48c5842014-05-01 11:07:19 +00008 Flags: [ EF_MIPS_NOREORDER, EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2 ]
Daniel Sanders9cf3d3b2014-03-31 09:44:05 +00009
10# CHECK: Format: ELF32-mips
11# CHECK: Arch: mipsel
12# CHECK: Machine: EM_MIPS
Simon Atanasyanc48c5842014-05-01 11:07:19 +000013# CHECK: Flags [ (0x70001001)
14# CHECK-NEXT: EF_MIPS_ABI_O32 (0x1000)
15# CHECK-NEXT: EF_MIPS_ARCH_32R2 (0x70000000)
16# CHECK-NEXT: EF_MIPS_NOREORDER (0x1)
Daniel Sanders9cf3d3b2014-03-31 09:44:05 +000017# CHECK-NEXT: ]