Re: outgoing_args_size and pretend_args_size

2011-12-13 Thread Paulo J. Matos
On 13/12/11 14:47, Ian Lance Taylor wrote: outgoing_args_size is the number of bytes required by called functions. In your question above, the answer is no; x is an incoming argument. If you write extern foo(int); void bar(void) { foo (1); } then the outgoing_args_size of bar is sizeof(int), b

Re: outgoing_args_size and pretend_args_size

2011-12-13 Thread Ian Lance Taylor
"Paulo J. Matos" writes: > I am finding slightly confusing the difference between > outgoing_args_size and pretend_args_size. > > I think I understand pretend_args_size, at least on the specific case > of my port. The first two words of arguments go into two register

outgoing_args_size and pretend_args_size

2011-12-13 Thread Paulo J. Matos
Hi, I am finding slightly confusing the difference between outgoing_args_size and pretend_args_size. I think I understand pretend_args_size, at least on the specific case of my port. The first two words of arguments go into two register the remaining goes into the stack. However, if the