On Sun, 2013-04-07 at 09:55 -0400, Kyle McMartin wrote: > On Sun, Apr 07, 2013 at 12:00:50PM +0200, Michael Kerrisk (man-pages) wrote: > > [Adding a few people to CC who may be able to help with Mike's doubts > > on PA-RISC; folks, if any of you could have a quick look at the parisc > > piece below, that would be helpful] > > > > The syscall number is in %r20, everything else looks correct. The > returned value is in %r28 and the args are %r26 through %r21. Actually, that's not quite correct. on 64 bits it's arg1-8 are %r26-% r19 but on 32 the convention is that arg1-arg4 are %r26-%r23 and the rest on stack. We can also do register pair combining on 32 bits for a 64 bit argument. Our register use is documented in Documentation/parisc/registers James -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html