diff options
author | Richard Henderson <rth@twiddle.net> | 2010-05-03 10:07:55 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-05-21 16:22:21 +0000 |
commit | a5b3b13bedc545b5e571480b9cf47d2d378ad193 (patch) | |
tree | a452a2d96839feebd033e8ec8357257ab3b79d37 /tcg/hppa | |
parent | f43ce12b47323f0555ae9dfdf2f9d443346a4952 (diff) | |
download | qemu-a5b3b13bedc545b5e571480b9cf47d2d378ad193.zip qemu-a5b3b13bedc545b5e571480b9cf47d2d378ad193.tar.gz qemu-a5b3b13bedc545b5e571480b9cf47d2d378ad193.tar.bz2 |
alpha-linux-user: Fix sigprocmask.
Alpha passes oldset by value in a register, and returns the newset
as the return value; as compared to the standard implementation in
which both are passed by reference. This requires being able to
distinguish negative return values that are not errors. Do this in
the same way as the Alpha Linux kernel, by storing a zero in V0 in
the implementation of the syscall.
At the same time, fix a think-o in the regular sigprocmask path in
which we passed the target, rather than the host, HOW value.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/hppa')
0 files changed, 0 insertions, 0 deletions