Matt DeVillier has submitted this change. ( https://review.coreboot.org/c/coreboot/+/77097?usp=email )
Change subject: libpayload/include/stdarg.h: Add va_copy builtin ......................................................................
libpayload/include/stdarg.h: Add va_copy builtin
Add the builtin to copy variadic lists/arguments.
Signed-off-by: Maximilian Brune maximilian.brune@9elements.com Change-Id: I4507b901bdce052c5d1701fdf825eb8a96a5b55a Reviewed-on: https://review.coreboot.org/c/coreboot/+/77097 Reviewed-by: Martin L Roth gaumless@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M payloads/libpayload/include/stdarg.h 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Martin L Roth: Looks good to me, approved
diff --git a/payloads/libpayload/include/stdarg.h b/payloads/libpayload/include/stdarg.h index 772d072..340cd44 100644 --- a/payloads/libpayload/include/stdarg.h +++ b/payloads/libpayload/include/stdarg.h @@ -40,6 +40,7 @@ #define va_start(v,l) __builtin_va_start(v,l) #define va_end(v) __builtin_va_end(v) #define va_arg(v,l) __builtin_va_arg(v,l) +#define va_copy(d,s) __builtin_va_copy(d,s) typedef __builtin_va_list va_list; #else #include_next <stdarg.h>