Re: Variadic functions arguments passing

2014-04-25 Thread Ian Lance Taylor
On Fri, Apr 25, 2014 at 11:27 AM, Umesh Kalappa wrote: > > In our private port ,we define function_arg hook to pass the first > three args in the reg and rest will go to stack. > > But for variadic functions the arguments need to pass through the stack. > > How we can achieve this ?? Any inp

Variadic functions arguments passing

2014-04-25 Thread Umesh Kalappa
Hi All, In our private port ,we define function_arg hook to pass the first three args in the reg and rest will go to stack. But for variadic functions the arguments need to pass through the stack. How we can achieve this ?? Any inputs will be appreciate. Thank you ~Umesh