-
Natanael Copa authored
Some functions using include/qemu/bswap.h assumes that the inline functions using memcpy are atomic. Qemu assumes that compiler will optimize away the memcpy call. Our fortify-headers seems to get in the way for this, so we work around it by explicitly use __builtin_memcpy. https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg06183.html (cherry picked from commit 228579f6)
10a108ff