On Fri, Oct 4, 2024 at 2:11 PM H.J. Lu <hjl.to...@gmail.com> wrote:
>
> Since naked functions should not enable stack protector, define
> TARGET_STACK_PROTECT_RUNTIME_ENABLED_P to disable stack protector
> for naked functions.
>
> gcc/
>
> PR target/116962
> * config/i386/i386.cc (ix86_stack_protect_runtime_enabled_p): New
> function.
> (TARGET_STACK_PROTECT_RUNTIME_ENABLED_P): New.
>
> gcc/testsuite/
>
> PR target/116962
> * gcc.target/i386/pr116962.c: New file.
>
> OK for master?

OK, also for backports.

Thanks,
Uros.

Reply via email to