On Wed, Jun 15, 2016 at 04:03:04PM -0600, Jeff Law wrote: > FWIW I don't think ownership of the argument slots has ever been > definitively addressed by any ABI and it's been an open question in my mind > for 20+ years -- though I've largely leaned towards callee ownership on my > own thinking. In an ideal world we'd push to get this clarified at the ABI > level.
The PowerPC64 ABI specifies that the stack parameter save area is not preserved over calls. There's a good reason for this: An ABI that specifies stack argument slots as preserved over calls cannot allow sibling calls. -- Alan Modra Australia Development Lab, IBM