]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
x86/entry/vdso32: Remove conditional omission of '.cfi_offset eflags'
authorNathan Chancellor <nathan@kernel.org>
Sun, 17 May 2026 23:05:16 +0000 (13:05 -1000)
committerNathan Chancellor <nathan@kernel.org>
Wed, 27 May 2026 22:20:06 +0000 (15:20 -0700)
Now that the minimum supported version of LLVM for building the kernel
has been raised to 17.0.1, the inclusion condition added by

  3e30278e0c71 ("x86/entry/vdso32: Omit '.cfi_offset eflags' for LLVM < 16")

will always be true. Revert the change to clean up the source code.

Acked-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Link: https://patch.msgid.link/20260517-bump-minimum-supported-llvm-version-to-17-v2-13-b3b8cda46bdd@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
arch/x86/entry/vdso/vdso32/sigreturn.S

index b33fcc501ba30cc906a8806d434fbb4f05a47911..328bd3a4ef5139247ce6146458a39777137fba17 100644 (file)
        CFI_OFFSET      cs,     IA32_SIGCONTEXT_cs
        CFI_OFFSET      ss,     IA32_SIGCONTEXT_ss
        CFI_OFFSET      ds,     IA32_SIGCONTEXT_ds
-/*
- * .cfi_offset eflags requires LLVM 16 or newer:
- *
- *   https://github.com/llvm/llvm-project/commit/67bd3c58c0c7389e39c5a2f4d3b1a30459ccf5b7
- *
- * Check for 16.0.1 to ensure the support is present, as 16.0.0 may be a
- * prerelease version.
- */
-#if defined(CONFIG_AS_IS_GNU) || (defined(CONFIG_AS_IS_LLVM) && CONFIG_AS_VERSION >= 160001)
        CFI_OFFSET      eflags, IA32_SIGCONTEXT_flags
-#endif
 .endm
 
 /*