Commit d9b728f8 authored by Chen Zhongjin's avatar Chen Zhongjin Committed by Will Deacon

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: default avatarChen Zhongjin <chenzhongjin@huawei.com>
Link: https://lore.kernel.org/r/20220701035456.250877-1-chenzhongjin@huawei.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 4274929c
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <asm/unistd.h> #include <asm/unistd.h>
.section .rodata
.globl __aarch32_sigret_code_start .globl __aarch32_sigret_code_start
__aarch32_sigret_code_start: __aarch32_sigret_code_start:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment