[<prev] [next>] [day] [month] [year] [list]
Message-Id: <e79288922fbd0bad6facf06488735ec74f811d1b.1689588798.git.jstancek@redhat.com>
Date: Mon, 17 Jul 2023 06:17:42 -0400
From: Jan Stancek <jstancek@...hat.com>
To: linux-perf-users@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, mark.rutland@....com,
alexander.shishkin@...ux.intel.com, jolsa@...nel.org,
namhyung@...nel.org, irogers@...gle.com, adrian.hunter@...el.com,
carsten.haitzler@....com, james.clark@....com, acme@...nel.org,
jstancek@...hat.com
Subject: [PATCH] perf test coresight: asm_pure_loop: add .note.GNU-stack
Add .note.GNU-stack annotation to indicate it does not need
executable stack.
Signed-off-by: Jan Stancek <jstancek@...hat.com>
---
tools/perf/tests/shell/coresight/asm_pure_loop/asm_pure_loop.S | 2 ++
1 file changed, 2 insertions(+)
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..bb39d8089331 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
--
2.39.0
Powered by blists - more mailing lists