Sparc64 user emulator support
PATCH 1/1 Sparc64 user emulator support
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.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Quoted 3 lines · Blue Swirl
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 emulation works at all for 64-bit targets. I'm fairly sure that code isn't even remotely 64-bit safe.
Paul
Quoted 2 lines
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 system calls like exit() don't need any pointers.
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.com/