aboutsummaryrefslogtreecommitdiff
path: root/c67-gen.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2015-03-09 03:54:33 +0100
committerMichael Matz <matz@suse.de>2015-03-09 03:54:33 +0100
commit25b2779c3d88b0acdf86e99c0c60836153ec401b (patch)
tree2b08a17a7368395d7f19fc3e6410a7c3b69dbf0a /c67-gen.c
parent2eb4f4a3badd181876698e7964a4c4f4bec2c8bf (diff)
downloadtinycc-25b2779c3d88b0acdf86e99c0c60836153ec401b.tar.gz
tinycc-25b2779c3d88b0acdf86e99c0c60836153ec401b.tar.bz2
x86-64: Fix stdarg for large non-float structs
Some structs are passed in registers. When they need more than one the implementation of __va_arg on x86-64 didn't correctly account for this. This fixes only the cases where the structs consist of integer types, as there the register save area is consecutive. Fixes some tests from 73_arm64.c, but still leaves those failing that use floating point in the large-but-regpassed structs.
Diffstat (limited to 'c67-gen.c')
0 files changed, 0 insertions, 0 deletions