From: David Miller <davem@xxxxxxxxxxxxx> Date: Mon, 14 Nov 2011 23:53:51 -0500 (EST) > Luckily we can solve this problem without having to make debuggers > aware of the issue. Across system calls, several registers are > considered volatile and can be safely clobbered. > > Therefore we use the pt_regs save area of one of those registers, %g2, > as a place to save and restore orig_i0. Unfortunately this doesn't work, for example the clone implementation in glibc expects %g2 and several other global registers to be preserved across a system call. I'll need to find another place to stash this value away. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html