arch: Select 64bit elf base on the architecture characteristic

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I09eec5a76f255016a910cfec3b3f70cd7577525e
This commit is contained in:
Xiang Xiao
2020-06-01 02:41:11 +08:00
committed by Brennan Ashton
parent f6a87c5c15
commit b932b653dd
10 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
/* NOTE: elf64.h and elf32.h refer EI_NIDENT defined above */
#ifdef CONFIG_ELF_64BIT
#ifdef CONFIG_LIBC_ARCH_ELF_64BIT
# include <elf64.h>
#else
# include <elf32.h>