Skip to content

Commit d9b728f

Browse files
Chen Zhongjinwilldeacon
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 4274929 commit d9b728f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/sigreturn32.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include <asm/unistd.h>
1717

18+
.section .rodata
1819
.globl __aarch32_sigret_code_start
1920
__aarch32_sigret_code_start:
2021

0 commit comments

Comments
 (0)