From 85af634482611eaa6097edbf76e142de0408ca6a Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 9 Nov 2018 18:02:39 +0000 Subject: [PATCH] MFC r340075: readelf: decode R_MIPS_HIGHER and R_MIPS_HIGHEST relocation types Sponsored by: The FreeBSD Foundation --- contrib/elftoolchain/libelftc/elftc_reloc_type_str.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c b/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c index fdad9a6448c..4fa715ae073 100644 --- a/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c +++ b/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c @@ -402,6 +402,8 @@ elftc_reloc_type_str(unsigned int mach, unsigned int type) case 22: return "R_MIPS_GOT_HI16"; case 23: return "R_MIPS_GOT_LO16"; case 24: return "R_MIPS_SUB"; + case 28: return "R_MIPS_HIGHER"; + case 29: return "R_MIPS_HIGHEST"; case 30: return "R_MIPS_CALLHI16"; case 31: return "R_MIPS_CALLLO16"; case 37: return "R_MIPS_JALR"; -- 2.45.0