diff options
author | emaste <emaste@FreeBSD.org> | 2015-09-24 12:44:02 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-09-24 12:44:02 +0000 |
commit | 09f805e3141a9cd471d5c7060ce033e1caaf796e (patch) | |
tree | b2008df2d6b33f0d3b81f8b8c74b4c82b48bc2d2 /usr.bin/elfdump/elfdump.c | |
parent | 09e4cb51449bc109373705136be9e3da7ecd740f (diff) | |
download | FreeBSD-src-09f805e3141a9cd471d5c7060ce033e1caaf796e.zip FreeBSD-src-09f805e3141a9cd471d5c7060ce033e1caaf796e.tar.gz |
MFC r285841: Add RISC-V ELF machine type definition
EM_RISCV is now officially registered as e_machine 243.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/elfdump/elfdump.c')
-rw-r--r-- | usr.bin/elfdump/elfdump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/elfdump/elfdump.c b/usr.bin/elfdump/elfdump.c index 9640dd5..3670f88 100644 --- a/usr.bin/elfdump/elfdump.c +++ b/usr.bin/elfdump/elfdump.c @@ -271,6 +271,7 @@ e_machines(u_int mach) case EM_IA_64: return "EM_IA_64"; case EM_X86_64: return "EM_X86_64"; case EM_AARCH64:return "EM_AARCH64"; + case EM_RISCV: return "EM_RISCV"; } snprintf(machdesc, sizeof(machdesc), "(unknown machine) -- type 0x%x", mach); |