[PATCH RFC 10/10] unwind/x86/64: Add HAVE_USER_UNWIND_SFRAME
From: Josh Poimboeuf
Date: Wed Nov 08 2023 - 19:54:03 EST
Binutils 2.40 supports generating sframe for x86_64. It works well in
testing so enable it.
NOTE: An out-of-tree glibc patch is still needed to enable setting
PR_ADD_SFRAME for shared libraries and dlopens.
Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
---
arch/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 95939cd54dfe..770d0528e4c9 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -279,6 +279,7 @@ config X86
select HAVE_UNSTABLE_SCHED_CLOCK
select HAVE_USER_RETURN_NOTIFIER
select HAVE_USER_UNWIND
+ select HAVE_USER_UNWIND_SFRAME if X86_64
select HAVE_GENERIC_VDSO
select HOTPLUG_PARALLEL if SMP && X86_64
select HOTPLUG_SMT if SMP
--
2.41.0