perf tools: annotate asm_pure_loop.S
authorMarcus Meissner <meissner@suse.de>
Sun, 23 Mar 2025 08:53:45 +0000 (09:53 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 24 Mar 2025 16:39:54 +0000 (09:39 -0700)
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>
tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S

index 75cf084a927d3d561aad87d6f8589ef7c072190e..5777600467723fff2f3940f2a6e6fc4fb6ed6d74 100644 (file)
@@ -26,3 +26,5 @@ skip:
        mov     x0, #0
        mov     x8, #93 // __NR_exit syscall
        svc     #0
+
+.section .note.GNU-stack, "", @progbits