[PATCH v3 10/19] unwind/x86: Enable CONFIG_HAVE_UNWIND_USER_SFRAME

Josh Poimboeuf posted 19 patches 3 weeks, 6 days ago
[PATCH v3 10/19] unwind/x86: Enable CONFIG_HAVE_UNWIND_USER_SFRAME
Posted by Josh Poimboeuf 3 weeks, 6 days ago
Binutils 2.41 supports generating sframe v2 for x86_64.  It works well
in testing so enable it.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index f91098d6f535..3e6f4c80c5b5 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -290,6 +290,7 @@ config X86
 	select HAVE_UACCESS_VALIDATION		if HAVE_OBJTOOL
 	select HAVE_UNSTABLE_SCHED_CLOCK
 	select HAVE_UNWIND_USER_FP		if X86_64
+	select HAVE_UNWIND_USER_SFRAME		if X86_64
 	select HAVE_USER_RETURN_NOTIFIER
 	select HAVE_GENERIC_VDSO
 	select VDSO_GETRANDOM			if X86_64
-- 
2.47.0
Re: [PATCH v3 10/19] unwind/x86: Enable CONFIG_HAVE_UNWIND_USER_SFRAME
Posted by Peter Zijlstra 3 weeks, 5 days ago
On Mon, Oct 28, 2024 at 02:47:37PM -0700, Josh Poimboeuf wrote:
> Binutils 2.41 supports generating sframe v2 for x86_64.  It works well
> in testing so enable it.

There is no sframe for 32bit?