All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Sparc64 user emulator support
@ 2006-07-11 19:46 Blue Swirl
  2006-07-11 19:55 ` [Qemu-devel] " Paul Brook
  0 siblings, 1 reply; 3+ messages in thread
From: Blue Swirl @ 2006-07-11 19:46 UTC (permalink / raw)
  To: fabrice, paul; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

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/

[-- Attachment #2: sparc64-user_fix.diff.bz2 --]
[-- Type: application/octet-stream, Size: 1001 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: [PATCH] Sparc64 user emulator support
  2006-07-11 19:46 [Qemu-devel] [PATCH] Sparc64 user emulator support Blue Swirl
@ 2006-07-11 19:55 ` Paul Brook
  2006-07-11 20:08   ` Blue Swirl
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Brook @ 2006-07-11 19:55 UTC (permalink / raw)
  To: Blue Swirl; +Cc: qemu-devel

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 emulation works at all for 64-bit targets. I'm 
fairly sure that code isn't even remotely 64-bit safe.

Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: [PATCH] Sparc64 user emulator support
  2006-07-11 19:55 ` [Qemu-devel] " Paul Brook
@ 2006-07-11 20:08   ` Blue Swirl
  0 siblings, 0 replies; 3+ messages in thread
From: Blue Swirl @ 2006-07-11 20:08 UTC (permalink / raw)
  To: paul; +Cc: qemu-devel

>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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-11 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-11 19:46 [Qemu-devel] [PATCH] Sparc64 user emulator support Blue Swirl
2006-07-11 19:55 ` [Qemu-devel] " Paul Brook
2006-07-11 20:08   ` Blue Swirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.