From 72c68868c87c1d31bc658b43c337e8c162d16997 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Wed, 7 Aug 2019 00:02:09 +0200 Subject: [PATCH] Add e2k support for nlist() This is a Russian 64-bit LE VLIW architecture named Elbrus (formerly Elbrus 2000). [guillem@hadrons.org: - Place the entry in alphabetical order. ] Signed-off-by: Guillem Jover --- src/local-elf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/local-elf.h b/src/local-elf.h index 122601b..f784b12 100644 --- a/src/local-elf.h +++ b/src/local-elf.h @@ -100,6 +100,12 @@ #error Unknown AVR32 endianness #endif +#elif defined(__e2k__) + +#define ELF_TARG_MACH EM_MCST_ELBRUS +#define ELF_TARG_CLASS ELFCLASS64 +#define ELF_TARG_DATA ELFDATA2LSB + #elif defined(__hppa__) #define ELF_TARG_MACH EM_PARISC