From fe4297ba1de2d65d7bd1e6e057178328643cf810 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 8 May 2019 20:10:13 -0700 Subject: Bump size of va_list to 32 to support both x86_64 and aarch64 --- type.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/type.c b/type.c index b05898e..4b5b665 100644 --- a/type.c +++ b/type.c @@ -40,11 +40,11 @@ struct type typedouble = FLTTYPE(TYPEDOUBLE, 8, &f64); struct type typeldouble = FLTTYPE(TYPELDOUBLE, 16, NULL); // XXX: not supported by qbe static struct type typevaliststruct = { - .kind = TYPESTRUCT, .size = 24, .align = 8, + .kind = TYPESTRUCT, .size = 32, .align = 8, .prop = PROPOBJECT|PROPAGGR, }; struct type typevalist = { - .kind = TYPEARRAY, .size = 24, .align = 8, .array = {1}, .base = &typevaliststruct, + .kind = TYPEARRAY, .size = 32, .align = 8, .array = {1}, .base = &typevaliststruct, .prop = PROPOBJECT|PROPDERIVED|PROPAGGR, }; struct type typevalistptr = { -- cgit v1.2.3