[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220701035456.250877-1-chenzhongjin@huawei.com>
Date: Fri, 1 Jul 2022 11:54:56 +0800
From: Chen Zhongjin <chenzhongjin@...wei.com>
To: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: <catalin.marinas@....com>, <will@...nel.org>,
<mark.rutland@....com>
Subject: [PATCH] arm64: compat: Move sigreturn32.S to .rodata section
Kuser code should be inside .rodata. sigreturn32.S is splited
from kuser32.S, the code in .text section is never executed.
Move it to .rodata.
Signed-off-by: Chen Zhongjin <chenzhongjin@...wei.com>
---
arch/arm64/kernel/sigreturn32.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/kernel/sigreturn32.S b/arch/arm64/kernel/sigreturn32.S
index 475d30d471ac..ccbd4aab4ba4 100644
--- a/arch/arm64/kernel/sigreturn32.S
+++ b/arch/arm64/kernel/sigreturn32.S
@@ -15,6 +15,7 @@
#include <asm/unistd.h>
+ .section .rodata
.globl __aarch32_sigret_code_start
__aarch32_sigret_code_start:
--
2.17.1
Powered by blists - more mailing lists