summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/elfdump/elfdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/elftoolchain/elfdump/elfdump.c')
-rw-r--r--contrib/elftoolchain/elfdump/elfdump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/elftoolchain/elfdump/elfdump.c b/contrib/elftoolchain/elfdump/elfdump.c
index 02a1fa1..36a8dfd 100644
--- a/contrib/elftoolchain/elfdump/elfdump.c
+++ b/contrib/elftoolchain/elfdump/elfdump.c
@@ -56,6 +56,9 @@ ELFTC_VCSID("$Id: elfdump.c 3474 2016-05-17 20:44:53Z emaste $");
#ifndef EM_IAMCU
#define EM_IAMCU 6
#endif
+#ifndef EM_RISCV
+#define EM_RISCV 243
+#endif
#if defined(ELFTC_NEED_ELF_NOTE_DEFINITION)
#include "native-elf-format.h"
OpenPOWER on IntegriCloud