projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4274929
)
arm64: compat: Move sigreturn32.S to .rodata section
author
Chen Zhongjin
<chenzhongjin@huawei.com>
Fri, 1 Jul 2022 03:54:56 +0000
(11:54 +0800)
committer
Will Deacon
<will@kernel.org>
Fri, 1 Jul 2022 11:05:45 +0000
(12:05 +0100)
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@huawei.com>
Link:
https://lore.kernel.org/r/20220701035456.250877-1-chenzhongjin@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/sigreturn32.S
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/sigreturn32.S
b/arch/arm64/kernel/sigreturn32.S
index 475d30d471ac1634364bab74e7f3d58c0dfc1fb6..ccbd4aab4ba44117984c86bfc802409aca2090f6 100644
(file)
--- 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: