[PATCH] ARM: Enable frame pointers for arm64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



stack unwinding on arm64 depends on framepointers, so enable them.

OSELAS.Toolchain-2022.10.0 now defaults to -fomit-frame-pointer whereas
earlier versions default to -fno-omit-frame-pointer. Fix stack
unwinding for new OSELAS.Toolchain and other toolchains which omit
frame pointers by default.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 arch/arm/cpu/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
index 3ef3604737..f6e2ae9b8a 100644
--- a/arch/arm/cpu/Kconfig
+++ b/arch/arm/cpu/Kconfig
@@ -18,6 +18,7 @@ config CPU_64
 	select HAVE_PBL_IMAGE
 	select HAVE_PBL_MULTI_IMAGES
 	select HAS_DMA
+	select ARCH_WANT_FRAME_POINTERS
 
 # Select CPU types depending on the architecture selected. This selects
 # which CPUs we support in the kernel image, and the compiler instruction
-- 
2.30.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux