[yaml2obj] Allow yaml2obj tool to recognize EF_MIPS_NAN2008 flag
llvm-svn: 221268
This commit is contained in:
parent
69e32f4562
commit
d2bfd00e71
@ -264,6 +264,7 @@ void ScalarBitSetTraits<ELFYAML::ELF_EF>::bitset(IO &IO,
|
||||
BCase(EF_MIPS_CPIC)
|
||||
BCase(EF_MIPS_ABI2)
|
||||
BCase(EF_MIPS_32BITMODE)
|
||||
BCase(EF_MIPS_NAN2008)
|
||||
BCase(EF_MIPS_ABI_O32)
|
||||
BCase(EF_MIPS_MICROMIPS)
|
||||
BCase(EF_MIPS_ARCH_ASE_M16)
|
||||
|
||||
@ -5,13 +5,15 @@ FileHeader:
|
||||
Data: ELFDATA2LSB
|
||||
Type: ET_REL
|
||||
Machine: EM_MIPS
|
||||
Flags: [ EF_MIPS_NOREORDER, EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2 ]
|
||||
Flags: [ EF_MIPS_NOREORDER, EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R2,
|
||||
EF_MIPS_NAN2008 ]
|
||||
|
||||
# CHECK: Format: ELF32-mips
|
||||
# CHECK: Arch: mipsel
|
||||
# CHECK: Machine: EM_MIPS
|
||||
# CHECK: Flags [ (0x70001001)
|
||||
# CHECK: Flags [ (0x70001401)
|
||||
# CHECK-NEXT: EF_MIPS_ABI_O32 (0x1000)
|
||||
# CHECK-NEXT: EF_MIPS_ARCH_32R2 (0x70000000)
|
||||
# CHECK-NEXT: EF_MIPS_NAN2008 (0x400)
|
||||
# CHECK-NEXT: EF_MIPS_NOREORDER (0x1)
|
||||
# CHECK-NEXT: ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user