Re: Changing the ABI

2010-01-20 Thread Jean Christophe Beyler
That is also the conclusions I made. - Move the zone (4) to the callee if need be. You know that if your caller had more than 8 output parameters, the last parameters are set on the stack in zone (3). - However, it seems to me that in the case of : void foo (void) { ... bar (param1, para

Re: Changing the ABI

2010-01-19 Thread Mikael Pettersson
On Mon, 18 Jan 2010 13:55:16 -0500, Jean Christophe Beyler wrote: >I have a current issue on my port. Basically the stack is defined as follows : > >1) CALL_USED save area >2) Local variables >3) Caller arguments passed on the stack >4) 8 words to save arguments passed in registers, even if not pas

Changing the ABI

2010-01-18 Thread Jean Christophe Beyler
Dear all, I have a current issue on my port. Basically the stack is defined as follows : 1) CALL_USED save area 2) Local variables 3) Caller arguments passed on the stack 4) 8 words to save arguments passed in registers, even if not passed Now, this was done because we have defined 8 output regi