This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: I need some advice for x86_64-pc-mingw32 va_list calling convention (in i386.c)
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: "Menezes, Evandro" <evandro dot menezes at amd dot com>
- Cc: "gcc" <gcc at gcc dot gnu dot org>
- Date: Mon, 26 Feb 2007 09:40:59 +0100
- Subject: RE: I need some advice for x86_64-pc-mingw32 va_list calling convention (in i386.c)
Thanx,
this paper is helpful and shows what I expected. But I still have a
problem about va-argument-passing. The MS compiler reserves stack space
for all may va-callable methods register arguments. So far, good. This
means for GCC setting up REG_PARM_STACK_SPACE to the value of a stack
argument (8 bytes). But MS saves also space for all may argument registers
on stack, not just for the used one - as gcc does.
So is there allready a mechanism in gcc, by whom I can reserve for all
methods simple space on stack for the 4 used register parameters, even if
they are not used for argument passing ?
Regards,
i.A. Kai Tietz