[PATCH] ARM: Enable frame pointers for arm64
Sascha Hauer
s.hauer at pengutronix.de
Thu Mar 9 05:57:13 PST 2023
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 at pengutronix.de>
---
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
More information about the barebox
mailing list