riscv: implement stdarg functions
commit982de78e8dac33cdd50cc4a29d8c54fb81fce29a
authorMichael Matz <matz@suse.de>
Sun, 21 Jul 2019 01:25:12 +0000 (21 03:25 +0200)
committerMichael Matz <matz@suse.de>
Sun, 1 Sep 2019 21:13:20 +0000 (1 23:13 +0200)
treeb81c1d848b5d216af8b763d2893a5f4102aa753b
parentf44df9d85ba1d258f01d61d8b9184cf460c8fbaf
riscv: implement stdarg functions

this also fixes passing of params > 16 bytes.  In riscv
they aren't passed by value on stack, but via reference (and
because callees are allowed to modify by-ref params the caller must
allocate an own copy per call).

This fixes the stdarg parts of 73_arm.c.
include/stdarg.h
riscv64-gen.c
tccgen.c
tcctok.h