mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 01:32:21 +02:00
x86/entry/vdso32: Remove conditional omission of '.cfi_offset eflags'
Now that the minimum supported version of LLVM for building the kernel
has been raised to 17.0.1, the inclusion condition added by
3e30278e0c ("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>
This commit is contained in:
parent
12b7bf92bd
commit
4e7af20d0d
|
|
@ -22,17 +22,7 @@
|
|||
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
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user