# Re: \[RFC PATCH 9/9\] arm64: implement dynamic shadow call stack for GCC

- From: Mark Brown \<broonie@kernel.org\>
- Date: 2021-10-13 15:44:03 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/10/8812781
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/10/8812773/t.md

```text
On Wed, Oct 13, 2021 at 05:22:43PM +0200, Ard Biesheuvel wrote:

> +config UNWIND_PATCH_PAC_INTO_SCS
> +	def_bool y
> +	depends on CC_IS_GCC && SHADOW_CALL_STACK
> +	select UNWIND_TABLES
> +	select ARM64_PTR_AUTH_KERNEL
> +

This needs a dependency on the GCC relevant toolchain features for
pointer auth doesn't it?  Or just make it depend on rather than select
pointer auth.
```
