This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Thanks for your detailed explanation, from which I got a general image ofFrom: Ian Lance Taylor <ian@airs.com> To: "Yao qi" <qiyaobit@hotmail.com> CC: gcc@gcc.gnu.org Subject: Re: var_args for rs6000 backend Date: 06 Sep 2005 11:05:38 -0700
"Yao qi" <qiyaobit@hotmail.com> writes:
These are partially documented in gcc/doc/tm.texi. Unfortunately the documentation is not particularly good.
These functions are all oriented around C stdarg.h functions. In brief, setup_incoming_varargs is called for a function which takes a variable number of arguments, and does any required preparation statements. build_builtin_va_list builds the va_list data type. va_start is called to implement the va_start macro. gimplify_va_arg is called to implement the va_arg macro.
Got it , thanks for your advice here.> I do not know what is the precondation if I want to do it? May I need > to know the architecture of PowerPC and ABI for it?
You do indeed need to know the PowerPC ABIs to understand what these routines are doing and why.
Ian
Best Regards ---------------- Yao Qi Bejing Institute of Technology
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |