mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-29 13:54:57 +00:00
[yaml2obj] Allow yaml2obj tool to recognize EF_MIPS_NAN2008 flag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221268 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12fcb9cf0d
commit
f7f14da355
@ -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…
Reference in New Issue
Block a user