cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit fe4297ba1de2d65d7bd1e6e057178328643cf810
parent 9f03161abae8b6502b51c20592bdc45654ede016
Author: Michael Forney <mforney@mforney.org>
Date:   Wed,  8 May 2019 20:10:13 -0700

Bump size of va_list to 32 to support both x86_64 and aarch64

Diffstat:
Mtype.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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 = {