From 8e81b272b0c79b037ef031df3a23075f05c6f5db Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Thu, 14 May 2020 09:18:40 -0500 Subject: [PATCH] Clarify 2.2.5 Variable Argument Lists regarding Parameter Save Area Fixes #77. Signed-off-by: Bill Schmidt --- specification/ch_2.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/specification/ch_2.xml b/specification/ch_2.xml index 46e9a41..76897e3 100644 --- a/specification/ch_2.xml +++ b/specification/ch_2.xml @@ -6544,12 +6544,18 @@ s6 - 72 (stored) architectures that pass some of the arguments in registers. The Power Architecture is one of the architectures that passes some of the arguments in registers. - The parameter + The parameter list may be zero length and is only allocated when parameters are spilled, when a function has unnamed parameters, or when no prototype is provided. When the Parameter Save Area is allocated, the Parameter Save Area must be large enough to accommodate all parameters, including parameters passed in registers. + + The caller of any function with an ellipsis in its prototype + must allocate a Parameter Save Area, as described in . +
Return Values