Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/arch/macppc/stand/bootxx



On Thu, May 16, 2002 at 09:02:48PM +0300, Bill Studenmund wrote:
> Log Message:
> Adjust how we set up our stack. According to the ABI, we store the
> return pc address at (r1). So don't initialize r1 to be outside our
> stack area. Scooted it in 16 bytes to help alignment.

Actually, (r1) is the frame link, and 4(r1) is the subroutine link.
ABI also wants stack to be 16-byte aligned, so if 'stack' is 16-byte
aligned already, you're fine.

-allen

-- 
 Allen Briggs                     briggs%wasabisystems.com@localhost
 http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support, Service
NetBSD development for Alpha, ARM, M68K, MIPS, PowerPC, SuperH, XScale, etc...



Home | Main Index | Thread Index | Old Index