diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-13 19:01:43 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-13 19:01:43 -0500 |
commit | dc3776d445957cd3ea4a682db518701b93d34292 (patch) | |
tree | 3ca4f09e322d51377fa8319268bd534599002233 /src/signal/i386 | |
parent | 6027201e5a7c810b3073c85f7373aae84b303ba3 (diff) | |
download | musl-dc3776d445957cd3ea4a682db518701b93d34292.tar.gz musl-dc3776d445957cd3ea4a682db518701b93d34292.tar.bz2 musl-dc3776d445957cd3ea4a682db518701b93d34292.tar.xz musl-dc3776d445957cd3ea4a682db518701b93d34292.zip |
fix previous commit that broke sigreturn. looks like the asm is needed.
Diffstat (limited to 'src/signal/i386')
-rw-r--r-- | src/signal/i386/restore.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/signal/i386/restore.s b/src/signal/i386/restore.s new file mode 100644 index 00000000..e0c4ab66 --- /dev/null +++ b/src/signal/i386/restore.s @@ -0,0 +1,15 @@ +.global __restore +.type __restore,%function +__restore: + popl %eax + movl $119, %eax + int $0x80 +.size __restore,.-__restore + +.global __restore_rt +.type __restore_rt,%function +__restore_rt: + movl $173, %eax + int $0x80 +.size __restore_rt,.-__restore_rt + |