aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/powerpc
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-03-20 16:51:55 +0100
committerXavier Leroy <xavier.leroy@inria.fr>2015-03-20 16:51:55 +0100
commitc1205952ab7e3be09cd1a0a9a4d4ee9ddeefe1ea (patch)
tree49f4f1dbfb193d9c777759e07559f8a30f233066 /runtime/powerpc
parenta90ffe0a21a3a813df4eb9a4dc23b06f50699cde (diff)
downloadcompcert-kvx-c1205952ab7e3be09cd1a0a9a4d4ee9ddeefe1ea.tar.gz
compcert-kvx-c1205952ab7e3be09cd1a0a9a4d4ee9ddeefe1ea.zip
Support va_arg for vararg arguments of composite (struct/union) types.
Now for IA32 and PowerPC as well.
Diffstat (limited to 'runtime/powerpc')
-rw-r--r--runtime/powerpc/vararg.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/powerpc/vararg.s b/runtime/powerpc/vararg.s
index 16681c1c..8d7e62c8 100644
--- a/runtime/powerpc/vararg.s
+++ b/runtime/powerpc/vararg.s
@@ -128,6 +128,13 @@ __compcert_va_float64:
.type __compcert_va_float64, @function
.size __compcert_va_float64, .-__compcert_va_int64
+ .balign 16
+ .globl __compcert_va_composite
+__compcert_va_composite:
+ b __compcert_va_int32
+ .type __compcert_va_composite, @function
+ .size __compcert_va_composite, .-__compcert_va_composite
+
# Save integer and FP registers at beginning of vararg function
.balign 16