Skip to content

Commit 036909c

Browse files
committed
perf tools: annotate asm_pure_loop.S
JIRA: https://issues.redhat.com/browse/RHEL-78197 upstream ======== commit 9a352a9 Author: Marcus Meissner <meissner@suse.de> Date: Sun Mar 23 09:53:45 2025 +0100 description =========== Annotate so it is built with non-executable stack. Fixes: 8b97519 ("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: Michael Petlan <mpetlan@redhat.com>
1 parent 7b65834 commit 036909c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ skip:
2626
mov x0, #0
2727
mov x8, #93 // __NR_exit syscall
2828
svc #0
29+
30+
.section .note.GNU-stack, "", @progbits

0 commit comments

Comments
 (0)