]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/module: Revert "Deal with GOT based stack cookie load on Clang < 17"
authorNathan Chancellor <nathan@kernel.org>
Sun, 17 May 2026 23:05:15 +0000 (13:05 -1000)
committerNathan Chancellor <nathan@kernel.org>
Wed, 27 May 2026 22:20:06 +0000 (15:20 -0700)
commit12b7bf92bddd449e4e72e23d5b4e2ed730e4d3e8
treebf4d5afe5851659567e626e4aca9ef433b498654
parent7b3281fcb43c5fce8d4d2b0996d3ac719cb5068b
x86/module: Revert "Deal with GOT based stack cookie load on Clang < 17"

Now that the minimum supported version of LLVM for building the kernel
has been raised to 17.0.1, the workaround added by

  78c4374ef8b8 ("x86/module: Deal with GOT based stack cookie load on Clang < 17")

will never be included, as the final clause in the preprocessor
conditional is always false. Revert the change to clean up the dead
code.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://patch.msgid.link/20260517-bump-minimum-supported-llvm-version-to-17-v2-12-b3b8cda46bdd@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
arch/x86/include/asm/elf.h
arch/x86/kernel/module.c