blob: ad032e80d64f4144759bdf6be495484aecfbbb4d [file] [log] [blame]
Chris Bieneman8ff0c112016-06-27 19:53:53 +00001# RUN: yaml2obj %s | llvm-readobj -file-headers - | FileCheck %s
Daniel Sanders9cf3d3b2014-03-31 09:44:05 +00002!ELF
3FileHeader:
4 Class: ELFCLASS32
5 Data: ELFDATA2LSB
6 Type: ET_REL
7 Machine: EM_MIPS
Simon Atanasyand2bfd002014-11-04 13:33:36 +00008 Flags: [ EF_MIPS_NOREORDER, EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2,
9 EF_MIPS_NAN2008 ]
Daniel Sanders9cf3d3b2014-03-31 09:44:05 +000010
11# CHECK: Format: ELF32-mips
12# CHECK: Arch: mipsel
13# CHECK: Machine: EM_MIPS
Simon Atanasyand2bfd002014-11-04 13:33:36 +000014# CHECK: Flags [ (0x70001401)
Simon Atanasyanc48c5842014-05-01 11:07:19 +000015# CHECK-NEXT: EF_MIPS_ABI_O32 (0x1000)
16# CHECK-NEXT: EF_MIPS_ARCH_32R2 (0x70000000)
Simon Atanasyand2bfd002014-11-04 13:33:36 +000017# CHECK-NEXT: EF_MIPS_NAN2008 (0x400)
Simon Atanasyanc48c5842014-05-01 11:07:19 +000018# CHECK-NEXT: EF_MIPS_NOREORDER (0x1)
Daniel Sanders9cf3d3b2014-03-31 09:44:05 +000019# CHECK-NEXT: ]