]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: compat: Move sigreturn32.S to .rodata section
authorChen Zhongjin <chenzhongjin@huawei.com>
Fri, 1 Jul 2022 03:54:56 +0000 (11:54 +0800)
committerWill Deacon <will@kernel.org>
Fri, 1 Jul 2022 11:05:45 +0000 (12:05 +0100)
commit743a1b601a8087eb062081ca0b174a6ba90fcaef
tree7f2c8534467b2f835b90e8536dd91899e876c1a5
parentddb68271d4a670e2edb0728f8777cfdbb4496fa4
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>
arch/arm64/kernel/sigreturn32.S