On Sat, Nov 23, 2013 at 06:38:31PM -0800, Ian Lance Taylor wrote: > Reportedly in the new PPC ELF v2 ABI calls to varargs functions act > differently from calls to normal functions.
Thanks for taking an interest in ELFv2 Ian! If you mean by "act differently" that arguments are passed differently, then that is true, but it was true of the old ABI too. In ELFv2 the calls are a little *more* different in that many normal function calls won't need to allocate a parameter save area, which you need for calls to variable argument functions. Note also that both ABIs support calls to functions with no prototype in scope, including variable argument functions. -- Alan Modra Australia Development Lab, IBM