diff options
author | Chen Zhongjin <chenzhongjin@huawei.com> | 2022-07-01 06:54:56 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-07-01 14:05:45 +0300 |
commit | d9b728f8600bb0b3d0a190dd9480b193b77773a8 (patch) | |
tree | 7f2c8534467b2f835b90e8536dd91899e876c1a5 /arch/arm64/kernel/sigreturn32.S | |
parent | 4274929c7ee6f442c3f89c5da64d112a9de4a6ba (diff) | |
download | linux-d9b728f8600bb0b3d0a190dd9480b193b77773a8.tar.xz |
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@huawei.com>
Link: https://lore.kernel.org/r/20220701035456.250877-1-chenzhongjin@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/sigreturn32.S')
-rw-r--r-- | arch/arm64/kernel/sigreturn32.S | 1 |
1 files changed, 1 insertions, 0 deletions
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: |