Files
Mohamed Moawad 7920c385dc tests: kernel: fatal: Add ARC-specific stack protection test
Add ARC-specific variant of kernel.common.stack_protection test that
omits frame pointers to work around GNU toolchain code generation issue.

The GNU toolchain generates FP-relative memory accesses (st r0,[fp,-8])
for local variables when frame pointers are enabled, which bypasses ARC
hardware stack checking that only monitors SP-based instructions. This
causes the test to fail with MPU violations instead of
stack check violations.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2025-10-16 17:11:01 +03:00
..