x86: Remove toolchain check for X32 ABI capability
Commit 0bf62763 ("x32: Warn and disable rather than error if binutils too old") added a small test in arch/x86/Makefile because binutils 2.22 or newer is needed to properly support elf32-x86-64. This check is no longer necessary, as the minimum supported version of binutils is 2.23, which is enforced at configuration time with scripts/min-tool-version.sh. Remove this check and replace all uses of CONFIG_X86_X32 with CONFIG_X86_X32_ABI, as two symbols are no longer necessary. [nathan: Rebase, fix up a few places where CONFIG_X86_X32 was still used, and simplify commit message to satisfy -tip requirements] Signed-off-by:Masahiro Yamada <masahiroy@kernel.org> Signed-off-by:
Nathan Chancellor <nathan@kernel.org> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220314194842.3452-2-nathan@kernel.org
Showing
- arch/x86/Kconfig 2 additions, 6 deletionsarch/x86/Kconfig
- arch/x86/Makefile 0 additions, 16 deletionsarch/x86/Makefile
- arch/x86/entry/syscalls/Makefile 1 addition, 1 deletionarch/x86/entry/syscalls/Makefile
- arch/x86/include/asm/syscall_wrapper.h 3 additions, 3 deletionsarch/x86/include/asm/syscall_wrapper.h
- arch/x86/include/asm/vdso.h 1 addition, 1 deletionarch/x86/include/asm/vdso.h
- arch/x86/kernel/process_64.c 1 addition, 1 deletionarch/x86/kernel/process_64.c
- fs/fuse/ioctl.c 1 addition, 1 deletionfs/fuse/ioctl.c
- fs/xfs/xfs_ioctl32.c 1 addition, 1 deletionfs/xfs/xfs_ioctl32.c
- sound/core/control_compat.c 8 additions, 8 deletionssound/core/control_compat.c
- sound/core/pcm_compat.c 10 additions, 10 deletionssound/core/pcm_compat.c
Loading
Please register or sign in to comment