mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2026-01-08 19:42:22 +00:00
It turned out that my previous crash fix(*) was wrong.
We actually always used the gcc built-in va functions instead of
the "real" va functions for EFIAPI, and we are just lucky that
ERR_add_error_data didn't crash before.
This commit copies the va functions from MdePkg/Include/Base.h
in edk2 and introdues NO_BUILTIN_VA_FUNCS for x86_64, so that all
the x86_64 build will adopt the new va functions. For safety,
I also added EFIAPI to all the functions which use va_* to avoid
the potential trouble.
(*)
|
||
|---|---|---|
| .. | ||
| crypto | ||
| buildinf.h | ||
| e_os.h | ||
| Makefile | ||
| openssl-bio-b_print-disable-sse.patch | ||
| update.sh | ||