R2000 stack alignment question

Jeff Kenton OSG/UEG kenton at abyss.zk3.dec.com
Wed May 29 01:42:31 AEST 1991


In article <3599 at charon.cwi.nl> jack at cwi.nl (Jack Jansen) writes:
>After some hours of digging through assembly code I've finally found out
>that varargs.h depends on the stack being aligned to an 8-byte boundary,
>and the C compiler does its utmost to keep it like that (unlike me).
>
>Could anyone in the know tell me whether this deduction is correct, and,
>if so, where this is documented? I would expect this to be in the
>'linkage convention' of the Kane book, but it isn't there (or, at
>least, I couldn't find it...)

This is correct.  Don't really know where it's documented.

-- 
-----------------------------------------------------------------------------
==	jeff kenton		Consulting at kenton at decvax.dec.com        ==
==	(617) 894-4508			(603) 881-0011			   ==
-----------------------------------------------------------------------------



More information about the Comp.sys.sgi mailing list