arch: select LIBC_ARCH_ELF when using COREDUMP
Coredump doens't need CONFIG_ELF to be enabled, but need elf.h to include correct elf32.h or elf64.h. Select LIBC_ARCH_ELF in COREDUMP to allow LIBC_ARCH_ELF_64BIT to be defined correctly. Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
parent
f6b9a8f577
commit
1ab1a6eaf3
1 changed files with 1 additions and 0 deletions
|
|
@ -2011,6 +2011,7 @@ config ASSERT_PAUSE_CPU_TIMEOUT
|
|||
config COREDUMP
|
||||
bool "Coredump support"
|
||||
depends on ARCH_HAVE_TCBINFO
|
||||
select LIBC_ARCH_ELF
|
||||
default n
|
||||
---help---
|
||||
Generate ELF core dump to provide information about the CPU state and the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue