On Thu, Jul 21, 2005 at 11:17:31AM +0200, Artur Grabowski wrote: > > Never mind that the way that code does syscalls is unsupported even on > i386. Never mind that the calling conventions on amd64 are different. > Never mind that you're using 32-bit pointers on a 64-bit architecture. > Never mind that the syscall entry point you're using shouldn't even be > there. >
Of course Art is right here... what you should be doing is trawling the web with Google looking for the amd64 ABI specification so you can understand how embarressing that code really is. One also wonders why, if you are determined to do this, you don't just compile a hello_world.c and disassemble the output (or just make the compiler output the .s file for you...) -- Brett Lymn