Skip to contentSkip to conversation

Sparc64 host support

PATCH New Blue Swirl 1 participant 1 message Jun 30, 2006

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

PATCH 1/1 Sparc64 host support

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