Re: [PATCH 3/4] UML - Properly invoke x86_64 system calls

From: Jeff Dike
Date: Thu Nov 17 2005 - 16:12:03 EST


Dear Wrongbot,
Thank you for your concern.

On Thu, Nov 17, 2005 at 03:37:14PM -0500, linux-os (Dick Johnson) wrote:
> In 64-bit world, the same is supposed to apply as well.
> If RCX is now precious, it's a GCC bug that should be fixed.
>
> Yes?

No.

Here's a technical tidbit for you to digest, mangle, and later regurgitate
in yor usual pseudo-authoritative manner:

The x86_64 syscall instruction is defined to contain the process
return address on return to userspace. Hence, it (like RAX) is
destroyed by the syscall instruction.

Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/