diff options
author | emaste <emaste@FreeBSD.org> | 2015-07-24 16:52:21 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-07-24 16:52:21 +0000 |
commit | faf3fc6a75d0302eb7cfbbb6e3d57da093c7c019 (patch) | |
tree | 694fbd536e2979fe224c48e88772d6159d5d9d4b /contrib/elftoolchain/common | |
parent | 9c81c0faa6c5dc734629a600c5f7273a97c40915 (diff) | |
download | FreeBSD-src-faf3fc6a75d0302eb7cfbbb6e3d57da093c7c019.zip FreeBSD-src-faf3fc6a75d0302eb7cfbbb6e3d57da093c7c019.tar.gz |
Add RISC-V ELF machine type definition
EM_RISCV is now officially registered as e_machine 243.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/elftoolchain/common')
-rw-r--r-- | contrib/elftoolchain/common/elfdefinitions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/elftoolchain/common/elfdefinitions.h b/contrib/elftoolchain/common/elfdefinitions.h index 58554fef..21b415b 100644 --- a/contrib/elftoolchain/common/elfdefinitions.h +++ b/contrib/elftoolchain/common/elfdefinitions.h @@ -813,7 +813,8 @@ _ELF_DEFINE_EM(EM_KM32, 210, "KM211 KM32 32-bit processor") \ _ELF_DEFINE_EM(EM_KMX32, 211, "KM211 KMX32 32-bit processor") \ _ELF_DEFINE_EM(EM_KMX16, 212, "KM211 KMX16 16-bit processor") \ _ELF_DEFINE_EM(EM_KMX8, 213, "KM211 KMX8 8-bit processor") \ -_ELF_DEFINE_EM(EM_KVARC, 214, "KM211 KMX32 KVARC processor") +_ELF_DEFINE_EM(EM_KVARC, 214, "KM211 KMX32 KVARC processor") \ +_ELF_DEFINE_EM(EM_RISCV, 243, "RISC-V") #undef _ELF_DEFINE_EM #define _ELF_DEFINE_EM(N, V, DESCR) N = V , |