* Charles Forsyth <fors...@terzarima.net> 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: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------