summaryrefslogtreecommitdiff
path: root/src/signal/ppc/restore.S
blob: 50887e910b90cd4c9013aee57328f100013635ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <bits/asm.h>
#include <bits/syscall.h>
        .global __restore
        .type __restore,@function
__restore:
        li      r0, __NR_sigreturn
        sc

        .global __restore_rt
        .type __restore_rt,@function
__restore_rt:
        li      r0, __NR_rt_sigreturn
        sc