diff options
author | Richard Pennington <rich@pennware.com> | 2012-11-09 23:32:57 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-11-13 18:15:10 +0100 |
commit | 7669d1e334e6b96455eece78da43bf830b93d697 (patch) | |
tree | 6649acfaa61ec6780498b55fa8015ca4f7a6cdae /src/signal/ppc/restore.S | |
parent | 1e717ea3d2a864e00e507f1a70a892c551955f1b (diff) | |
download | musl-7669d1e334e6b96455eece78da43bf830b93d697.tar.gz musl-7669d1e334e6b96455eece78da43bf830b93d697.tar.xz musl-7669d1e334e6b96455eece78da43bf830b93d697.zip |
import preliminary ppc work by rdp.
Diffstat (limited to 'src/signal/ppc/restore.S')
-rw-r--r-- | src/signal/ppc/restore.S | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/signal/ppc/restore.S b/src/signal/ppc/restore.S new file mode 100644 index 00000000..50887e91 --- /dev/null +++ b/src/signal/ppc/restore.S @@ -0,0 +1,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 |