OSDN Git Service

x32: make X32, !IA32_EMULATION setups able to execute x32 binaries
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Jan 2021 23:34:30 +0000 (18:34 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 6 Jan 2021 13:41:17 +0000 (08:41 -0500)
commit85f2ada718a81b282ee78a96d0ab1450543612e7
tree15fc174d993df8f3d916f8cc737e618a5d65e146
parent7facdc426f86c67e579e49e100943cbccc43e1c6
x32: make X32, !IA32_EMULATION setups able to execute x32 binaries

It's really trivial - the only wrinkle is making sure that
compiler knows that ia32-related side of COMPAT_ARCH_DLINFO
is dead code on such configs (we don't get there without
having passed compat_elf_check_arch(), and on such configs
that'll fail for ia32 binary).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/Kconfig
arch/x86/include/asm/elf.h