summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-06 09:16:57 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-06 09:16:57 +0000
commit1304ca878a4e091c193bd4ae273e0b5cb6142237 (patch)
treee01c844eac9f80578c340820d8eaac7de1e9fd02 /linux-user/syscall.c
parentf49e58dc64a6347dda3233076c85cc80d65fba72 (diff)
downloadfocaccia-qemu-1304ca878a4e091c193bd4ae273e0b5cb6142237.tar.gz
focaccia-qemu-1304ca878a4e091c193bd4ae273e0b5cb6142237.zip
target-alpha: Fix ret instruction
Hopefully pine doesn't corrupt this patch, I've had problems recently.

For an alpha "ret" instruction, of the type
     ret $26

The return was being ignored.  This is because in translate.c
register $26 (the return address) was being over-written with the current
PC before it could be jumped to.  Thus the ret was ignored.

This patch just re-orders things so the return address is processed before
it is over-written with the current PC.

(Vince Weaver)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5638 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions