Re: [PATCH] ARM: Enable frame pointers for arm64

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

 



On 09.03.23 14:57, Sascha Hauer wrote:
> 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>

Reviewed-by: Ahmad Fatoum <a.fatoum@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

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |





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

  Powered by Linux