mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
x86: fix build error and kconfig for ia32_emulation and binfmt
commit d1603990ea
upstream.
Fix kconfig warning and build errors on x86_64 by selecting BINFMT_ELF
when COMPAT_BINFMT_ELF is being selected.
warning: (IA32_EMULATION) selects COMPAT_BINFMT_ELF which has unmet direct dependencies (COMPAT && BINFMT_ELF)
fs/built-in.o: In function `elf_core_dump':
compat_binfmt_elf.c:(.text+0x3e093): undefined reference to `elf_core_extra_phdrs'
compat_binfmt_elf.c:(.text+0x3ebcd): undefined reference to `elf_core_extra_data_size'
compat_binfmt_elf.c:(.text+0x3eddd): undefined reference to `elf_core_write_extra_phdrs'
compat_binfmt_elf.c:(.text+0x3f004): undefined reference to `elf_core_write_extra_data'
[ hpa: This was sent to me for -next but it is a low risk build fix ]
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: http://lkml.kernel.org/r/51C0B614.5000708@infradead.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Rui Xiang <rui.xiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
570a73ebc1
commit
6aa07d6b6e
1 changed files with 1 additions and 0 deletions
|
@ -2157,6 +2157,7 @@ source "fs/Kconfig.binfmt"
|
||||||
config IA32_EMULATION
|
config IA32_EMULATION
|
||||||
bool "IA32 Emulation"
|
bool "IA32 Emulation"
|
||||||
depends on X86_64
|
depends on X86_64
|
||||||
|
select BINFMT_ELF
|
||||||
select COMPAT_BINFMT_ELF
|
select COMPAT_BINFMT_ELF
|
||||||
---help---
|
---help---
|
||||||
Include code to run legacy 32-bit programs under a
|
Include code to run legacy 32-bit programs under a
|
||||||
|
|
Loading…
Reference in a new issue