This is the mail archive of the gcc-patches@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]

Re: i386 stack missalignment on main


> This assumes you know the length of the arguments.  Sometimes
> (think varargs), you don't.

Ok, so we copy the non-varargs arguments, and use a silightly modified
varargs handling, which gets the arguemnt pointer from a stack slot.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]