On 2015-12-21, at 4:19 AM, Helge Deller wrote: > On parisc the current syscall restart code assumes that all syscall > callers load the syscall number in the delay slot of the ble > instruction. That's how it is e.g. done in the unistd.h header file: > ble 0x100(%sr2, %r0) > ldi #syscall_nr, %r20 > Because of that assumption the current code never restored %r20 before > returning to userspace. Is %r20 restored for nop case? The comments in the patch suggest that it is not necessary to restore it. I'm thinking we need to review syscall clobbered register list for glibc. Dave -- John David Anglin dave.anglin@xxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html