From: Alexei S. <ale...@gm...> - 2009-11-08 18:17:57
|
Committed with a little bit of formatting cleanup. -Alexei On Tue, Oct 27, 2009 at 5:33 PM, Jean-Pierre <cho...@fr...> wrote: > Hi, > Le 25 oct. 2009 à 23:37, Jean-Pierre a écrit : > > Here's a dyngen patch for Snow Leopard x86_64 compatibility. This work is > mostly based on the unofficial and incomplete x86_64 mach-o patch of qemu. > The JIT compiler seems to be ok in 64 bit mode, since I have the 'happy mac' > at boot time, but the application crashes later... > > When cleaning the dyngen code, I broke the x86_64 ELF part, It won't compile > because of the lines 2283-2285: > if (rel->r_offset >= start_offset && > int slide; > rel->r_offset < start_offset + copy_size) { > that should be: > if (rel->r_offset >= start_offset && > rel->r_offset < start_offset + copy_size) { > int slide; > Sorry about this. > The JIT compiler still crashes when using the code generated by Apple's gcc > on ppc-dyngen-ops.cpp. > I'm not sure why the resulting assembly code is so different from a Linux > 64-bit gcc install. I used otool on Mac and dumpobj on Linux to compare > these, and many functions are using different opcodes. > if I replace the ppc-dyngen-ops.hpp file by one built on a Linux 64-bit > machine, then SheepShaver runs fine in 64-bit mode with the JIT compiler on > Snow Leopard. > Best regards, > - Jean-Pierre. > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > basilisk-devel mailing list > bas...@li... > https://lists.sourceforge.net/lists/listinfo/basilisk-devel > > |