0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include <asm/unistd.h>
0017
0018 .section .rodata
0019 .globl __aarch32_sigret_code_start
0020 __aarch32_sigret_code_start:
0021
0022
0023
0024
0025 .byte __NR_compat_sigreturn, 0x70, 0xa0, 0xe3 // mov r7, #__NR_compat_sigreturn
0026 .byte __NR_compat_sigreturn, 0x00, 0x00, 0xef // svc #__NR_compat_sigreturn
0027
0028
0029
0030
0031 .byte __NR_compat_sigreturn, 0x27 // svc #__NR_compat_sigreturn
0032 .byte __NR_compat_sigreturn, 0xdf // mov r7, #__NR_compat_sigreturn
0033
0034
0035
0036
0037 .byte __NR_compat_rt_sigreturn, 0x70, 0xa0, 0xe3 // mov r7, #__NR_compat_rt_sigreturn
0038 .byte __NR_compat_rt_sigreturn, 0x00, 0x00, 0xef // svc #__NR_compat_rt_sigreturn
0039
0040
0041
0042
0043 .byte __NR_compat_rt_sigreturn, 0x27 // svc #__NR_compat_rt_sigreturn
0044 .byte __NR_compat_rt_sigreturn, 0xdf // mov r7, #__NR_compat_rt_sigreturn
0045
0046 .globl __aarch32_sigret_code_end
0047 __aarch32_sigret_code_end: