Skip to content

Commit

Permalink
perf tools: annotate asm_pure_loop.S
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marcus Meissner authored and Namhyung Kim committed Mar 24, 2025
1 parent ba3b086 commit 9a352a9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ skip:
mov x0, #0
mov x8, #93 // __NR_exit syscall
svc #0

.section .note.GNU-stack, "", @progbits

0 comments on commit 9a352a9

Please sign in to comment.