From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 21 Aug 2011 18:20:29 +0200 From: Enrico Weigelt To: 9fans@9fans.net Message-ID: <20110821162029.GB18887@nibiru.local> References: <759514f5611cac11b1692bce14901b99@coraid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: [9fans] GNU/Linux/Plan 9 disto Topicbox-Message-UUID: 14b75d7e-ead7-11e9-9d60-3106f5b1d025 * Charles Forsyth wrote: > >waserror() depends on callee-save. > > caller-save, and a few other conventions (or rather, no need for more conventions). > specifically, it's enough to save the pc and stack. all variables will > have the right values on non-zero return from setjmp, regardless of the > presence or absence of "volatile", and that return can be done by > simply setting the pc and the stack pointer to the values in the jmp_buf. What exactly is different between these calling conventions ? How much does the Plan9 code depend on them ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------