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


Reply via email to