readelf: add more PPC64 relocation types found in LLVM

MFC after:	2 weeks
MFC with:	r311941
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2017-01-11 21:28:22 +00:00
parent dd9d62b416
commit 0fbbe5bf87

View File

@ -607,6 +607,12 @@ elftc_reloc_type_str(unsigned int mach, unsigned int type)
case 104: return "R_PPC64_DTPREL16_HIGHERA";
case 105: return "R_PPC64_DTPREL16_HIGHEST";
case 106: return "R_PPC64_DTPREL16_HIGHESTA";
case 107: return "R_PPC64_TLSGD";
case 108: return "R_PPC64_TLSLD";
case 249: return "R_PPC64_REL16";
case 250: return "R_PPC64_REL16_LO";
case 251: return "R_PPC64_REL16_HI";
case 252: return "R_PPC64_REL16_HA";
}
break;
case EM_RISCV: