Subject: Re: SPARC syscall arguments
To: None <firstname.lastname@example.org>
From: john heasley <email@example.com>
Date: 07/12/2004 16:51:12
Sun, Jul 11, 2004 at 04:22:24PM +0100, phlox:
> Can someone clarify me on why NetBSD/sparc uses SPARC 'out' registers to pass
> syscall arguments instead of using the stack ? Is it to better take advantage of
> the architecture ? Does Solaris do the same ?
afaik, this is dictated by the sparc supplement to the sysV ABI; the first
6 arguments of non-leaf functions are passed via the out registers.