From 820dd28905032b577d136440ac91ecc7b2832086 Mon Sep 17 00:00:00 2001 From: "Koh M. Nakagawa" Date: Fri, 15 Jan 2021 14:39:27 +0900 Subject: [PATCH] fix the number of entries --- src/ELF/EnumToString.cpp | 2 +- src/ELF/RelocationSizes.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ELF/EnumToString.cpp b/src/ELF/EnumToString.cpp index 06a92c6..6d95232 100644 --- a/src/ELF/EnumToString.cpp +++ b/src/ELF/EnumToString.cpp @@ -1009,7 +1009,7 @@ const char* to_string(RELOC_POWERPC64 e) { } const char* to_string(RELOC_MIPS e) { - CONST_MAP(RELOC_MIPS, const char*, 111) enumStrings { + CONST_MAP(RELOC_MIPS, const char*, 112) enumStrings { { RELOC_MIPS::R_MICROMIPS_26_S1, "MIRCRO_MIPS_26_S1" }, { RELOC_MIPS::R_MICROMIPS_CALL16, "MIRCRO_MIPS_CALL16" }, { RELOC_MIPS::R_MICROMIPS_CALL_HI16, "MIRCRO_MIPS_CALL_HI16" }, diff --git a/src/ELF/RelocationSizes.hpp b/src/ELF/RelocationSizes.hpp index 49e9b31..a668583 100644 --- a/src/ELF/RelocationSizes.hpp +++ b/src/ELF/RelocationSizes.hpp @@ -528,7 +528,7 @@ CONST_MAP(RELOC_POWERPC64, uint32_t, 84) relocation_PPC64_sizes { { RELOC_POWERPC64::R_PPC64_REL16_HA, 16 }, }; -CONST_MAP(RELOC_MIPS, uint32_t, 111) relocation_MIPS_sizes { +CONST_MAP(RELOC_MIPS, uint32_t, 112) relocation_MIPS_sizes { { RELOC_MIPS::R_MICROMIPS_26_S1, 26 }, { RELOC_MIPS::R_MICROMIPS_CALL16, 16 }, { RELOC_MIPS::R_MICROMIPS_CALL_HI16, 16 },