This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Variadic functions arguments passing
- From: Umesh Kalappa <umesh dot kalappa0 at gmail dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 25 Apr 2014 23:57:42 +0530
- Subject: Variadic functions arguments passing
- Authentication-results: sourceware.org; auth=none
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