The attached patch adds initial support to Sparc64 as host platform.
ARM, MIPS and Sparc32 user emulators compile, but at least the Sparc32 emulator segfaults when executing the first TB.
The final linking of the system emulators fail with a lot of the following messages: /usr/lib64/libc_nonshared.a(elf-init.oS)(.text+0x38): In function `__libc_csu_init':
: undefined reference to `__init_array_start' Googling indicates that this could be a GCC bug. Other problems: Some x86 MMX/SSE ops (op_pavgb_xmm, because of complexity) and PPC ops (op_stfs_raw, because of native float) need stack, therefore these emulators won't build. This problem is shared with Sparc32. Sparc64 ld refuses to link files which use global register variablesfor different purposes. It would be nice to override this behaviour for some files.
_________________________________________________________________Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
sparc64_host.diff.bz2
Description: Binary data
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel