summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/libelftc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/elftoolchain/libelftc')
-rw-r--r--contrib/elftoolchain/libelftc/elftc_reloc_type_str.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c b/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c
index eaae982..1e977a7 100644
--- a/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c
+++ b/contrib/elftoolchain/libelftc/elftc_reloc_type_str.c
@@ -35,6 +35,9 @@
#ifndef EM_IAMCU
#define EM_IAMCU 6
#endif
+#ifndef EM_RISCV
+#define EM_RISCV 243
+#endif
const char *
elftc_reloc_type_str(unsigned int mach, unsigned int type)
OpenPOWER on IntegriCloud