[PATCH v2 04/11] unwind/x86/64: Add HAVE_USER_UNWIND_SFRAME

Josh Poimboeuf posted 11 patches 2 months, 2 weeks ago
[PATCH v2 04/11] unwind/x86/64: Add HAVE_USER_UNWIND_SFRAME
Posted by Josh Poimboeuf 2 months, 2 weeks ago
Binutils 2.41 supports generating sframe v2 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@kernel.org>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 266edff59058..0b3d7c72b65b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -287,6 +287,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 VDSO_GETRANDOM			if X86_64
 	select HOTPLUG_PARALLEL			if SMP && X86_64
-- 
2.46.0