Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!mips!daver!ditka!zinn!decvax.dec.com!abyss.zk3.dec.com!kenton From: kenton@abyss.zk3.dec.com (Jeff Kenton OSG/UEG) Newsgroups: comp.sys.sgi Subject: Re: R2000 stack alignment question Message-ID: <1991May28.154231.6701@decvax.dec.com> Date: 28 May 91 15:42:31 GMT References: <3599@charon.cwi.nl> Sender: usenet@decvax.dec.com (Usenet News System) Organization: DEC (Nashua, NH) Lines: 17 Nntp-Posting-Host: abyss.zk3.dec.com In article <3599@charon.cwi.nl> jack@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@decvax.dec.com == == (617) 894-4508 (603) 881-0011 == -----------------------------------------------------------------------------