[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 824716] Re: linux-user broken for targets with TARGET_
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [Bug 824716] Re: linux-user broken for targets with TARGET_ABI32 (i.e. qemu-sparc32plus) |
Date: |
Fri, 26 Jul 2013 12:48:33 -0000 |
The fix for this was actually committed way back in 2011...
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/824716
Title:
linux-user broken for targets with TARGET_ABI32 (i.e. qemu-
sparc32plus)
Status in QEMU:
Fix Released
Bug description:
I just debugged a problem I had with linux-user for qemu-sparc32plus.
Turns out that sparc32plus is defined as a 64bit target with
TARGET_ABI32 set. This correctly leads to abi_ulong (and others) being
defined as uint32_t. However most of the code (in syscall.c) uses
tswapl for these values, which swaps the endianess of a target long
(which is 64bit). This doesn't match the uin32_t abi_ulongs and fails!
So it appears to me like one would need to define something like an
aswapl which swaps abi_ulongs and replace most of the tswapls there...
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/824716/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [Bug 824716] Re: linux-user broken for targets with TARGET_ABI32 (i.e. qemu-sparc32plus),
Peter Maydell <=