diff options
-rw-r--r-- | lld/test/elf/Mips/dynlib-fileheader.test | 11 | ||||
-rw-r--r-- | lld/test/elf/Mips/exe-fileheader.test | 10 | ||||
-rw-r--r-- | lld/test/elf/Mips/opt-emulation.test | 10 |
3 files changed, 13 insertions, 18 deletions
diff --git a/lld/test/elf/Mips/dynlib-fileheader.test b/lld/test/elf/Mips/dynlib-fileheader.test index ff9d8629109..5f4b74eafaa 100644 --- a/lld/test/elf/Mips/dynlib-fileheader.test +++ b/lld/test/elf/Mips/dynlib-fileheader.test @@ -28,12 +28,11 @@ # CHECK: ProgramHeaderOffset: 0x34 # CHECK: SectionHeaderOffset: 0x20E0 # CHECK: Flags [ (0x70001007) -# CHECK: 0x1 -# CHECK: 0x2 -# CHECK: 0x1000 -# CHECK: 0x10000000 -# CHECK: 0x20000000 -# CHECK: 0x40000000 +# CHECK: EF_MIPS_ABI_O32 (0x1000) +# CHECK: EF_MIPS_ARCH_32R2 (0x70000000) +# CHECK: EF_MIPS_CPIC (0x4) +# CHECK: EF_MIPS_NOREORDER (0x1) +# CHECK: EF_MIPS_PIC (0x2) # CHECK: ] # CHECK: HeaderSize: 52 # CHECK: ProgramHeaderEntrySize: 32 diff --git a/lld/test/elf/Mips/exe-fileheader.test b/lld/test/elf/Mips/exe-fileheader.test index 7a1a6369306..8c508060ec8 100644 --- a/lld/test/elf/Mips/exe-fileheader.test +++ b/lld/test/elf/Mips/exe-fileheader.test @@ -33,12 +33,10 @@ # CHECK: ProgramHeaderOffset: 0x34 # CHECK: SectionHeaderOffset: 0x2268 # CHECK: Flags [ (0x70001005) -# CHECK: 0x1 -# CHECK: 0x4 -# CHECK: 0x1000 -# CHECK: 0x10000000 -# CHECK: 0x20000000 -# CHECK: 0x40000000 +# CHECK: EF_MIPS_ABI_O32 (0x1000) +# CHECK: EF_MIPS_ARCH_32R2 (0x70000000) +# CHECK: EF_MIPS_CPIC (0x4) +# CHECK: EF_MIPS_NOREORDER (0x1) # CHECK: ] # CHECK: HeaderSize: 52 # CHECK: ProgramHeaderEntrySize: 32 diff --git a/lld/test/elf/Mips/opt-emulation.test b/lld/test/elf/Mips/opt-emulation.test index 757fee98990..0129ec67cb2 100644 --- a/lld/test/elf/Mips/opt-emulation.test +++ b/lld/test/elf/Mips/opt-emulation.test @@ -12,12 +12,10 @@ # LE-O32: Machine: EM_MIPS (0x8) # LE-O32: Version: 1 # LE-O32: Flags [ (0x70001005) -# LE-O32-NEXT: 0x1 -# LE-O32-NEXT: 0x4 -# LE-O32-NEXT: 0x1000 -# LE-O32-NEXT: 0x10000000 -# LE-O32-NEXT: 0x20000000 -# LE-O32-NEXT: 0x40000000 +# LE-O32-NEXT: EF_MIPS_ABI_O32 (0x1000) +# LE-O32-NEXT: EF_MIPS_ARCH_32R2 (0x70000000) +# LE-O32-NEXT: EF_MIPS_CPIC (0x4) +# LE-O32-NEXT: EF_MIPS_NOREORDER (0x1) # LE-O32-NEXT: ] !ELF |