Subject: Re: return value in %a0 on m68k ELF (Re: CVS commit: syssrc)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-m68k
Date: 02/23/2001 08:35:13
On Fri, Feb 23, 2001 at 06:13:31PM +0900, Izumi Tsutsui wrote:

 > > Log Message:
 > > switch sun3 to ELF.  highlight include:
 >  :
 > > change assembly functions to return values in %a0 instead of %d0.
 > 
 > Should we set return values into %a0 in all case?
 > I guess this is required if the return value is pointer, isn't it?
 > I wonder if I have to fix getdfc() and getsfc() on news68k.
 > (I hope news68k is almost ELF ready but have not checked yet.)

Yah, I thought it was %d0 unless the return value was an address, in
which case it's %d0 and %a0...  Am I just confused?

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>