diff options
| author | Marcus Meissner <meissner@suse.de> | 2025-03-23 09:53:45 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:44:34 +0200 |
| commit | 2e8251afe2af2d1582a22f27440761d480f14fec (patch) | |
| tree | 30cfc8f08c7b1ecac8aabf0f3d5b69b246b21ba8 /tools/perf | |
| parent | f1e30175f3581fa6b66ceb8cab33c9977b3e1600 (diff) | |
| download | linux-2e8251afe2af2d1582a22f27440761d480f14fec.tar.gz linux-2e8251afe2af2d1582a22f27440761d480f14fec.tar.bz2 linux-2e8251afe2af2d1582a22f27440761d480f14fec.zip | |
perf tools: annotate asm_pure_loop.S
[ Upstream commit 9a352a90e88a041f4b26d359493e12a7f5ae1a6a ]
Annotate so it is built with non-executable stack.
Fixes: 8b97519711c3 ("perf test: Add asm pureloop test tool")
Signed-off-by: Marcus Meissner <meissner@suse.de>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Link: https://lore.kernel.org/r/20250323085410.23751-1-meissner@suse.de
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf')
| -rw-r--r-- | tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S b/tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S index 75cf084a927d..577760046772 100644 --- a/tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S +++ b/tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S @@ -26,3 +26,5 @@ skip: mov x0, #0 mov x8, #93 // __NR_exit syscall svc #0 + +.section .note.GNU-stack, "", @progbits |
