diff options
Diffstat (limited to 'libc/arch-arm/bionic/__sig_restorer.S')
-rw-r--r-- | libc/arch-arm/bionic/__sig_restorer.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/arch-arm/bionic/__sig_restorer.S b/libc/arch-arm/bionic/__sig_restorer.S new file mode 100644 index 0000000..3f6f284 --- /dev/null +++ b/libc/arch-arm/bionic/__sig_restorer.S @@ -0,0 +1,7 @@ +.global __sig_restorer + +/* This is the opcode sequence GDB looks for in order to recognize + this stack frame as a signal trampoline (see sigaction.c) */ +__sig_restorer: + mov r7, #119 /* __NR_sigreturn */ + swi #0 |