diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-17 22:04:29 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-17 22:04:29 +0000 |
commit | d74e3b124889c808c3b21516f9a646588b884f28 (patch) | |
tree | 4c29c89b3cfcef47a849cf06a06a4e33cee6d322 /mips-dis.c | |
parent | 8109b9b6bf934a39e73c90fb804e2d5af02391d1 (diff) | |
download | qemu-d74e3b124889c808c3b21516f9a646588b884f28.zip qemu-d74e3b124889c808c3b21516f9a646588b884f28.tar.gz qemu-d74e3b124889c808c3b21516f9a646588b884f28.tar.bz2 |
[PATCH] alpha: fix linux syscall convention
According to linux kernel sources, register a3 is set in case of failure
(and cleared in case of success) while register v0 contains the result
(or -errno in case of error).
The convention was not followed which results in weird behaviour.
Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5243 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'mips-dis.c')
0 files changed, 0 insertions, 0 deletions