[Qemu-devel] Re: [PATCH] Sparc64 user emulator support

2006-07-11 Thread Blue Swirl
I'm fairly surprised user emulation works at all for 64-bit targets. I'm fairly sure that code isn't even remotely 64-bit safe. On a 32-bit host, a write() from 64-bit program succeeds because the data happens to lie below 4G. I don't know if this can be guaranteed in every case, but then syst

[Qemu-devel] Re: [PATCH] Sparc64 user emulator support

2006-07-11 Thread Paul Brook
On Tuesday 11 July 2006 20:46, Blue Swirl wrote: > I got a statically linked trivial program (hello, world) execute on a x86 > host. More complex programs expose bugs in the Sparc64 emulation, even the > dynamic linker uses currently unimplemented VIS instructions. I'm fairly surprised user emulat