Skip to content

Commit 9a352a9

Browse files
msmeissnnamhyung
authored andcommitted
perf tools: annotate asm_pure_loop.S
Annotate so it is built with non-executable stack. Fixes: 8b97519 ("perf test: Add asm pureloop test tool") Signed-off-by: Marcus Meissner <[email protected]> Reviewed-by: Leo Yan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent ba3b086 commit 9a352a9

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)