Improve definition of elf_check_arch()

This commit is contained in:
Gleb Popov 2021-08-25 21:33:06 +03:00
parent f416f4bbac
commit 9525353a2d

View File

@ -29,7 +29,7 @@
#ifndef _TARGET_ARCH_ELF_H_
#define _TARGET_ARCH_ELF_H_
#define elf_check_arch(x) ( (x) == EM_MCST_ELBRUS )
#define elf_check_arch(x) ((x) == EM_MCST_ELBRUS || (x) == EM_E2K_OLD)
#define ELF_START_MMAP 0x80000000
#define ELF_ET_DYN_LOAD_ADDR 0x100000
#define ELF_CLASS ELFCLASS64