summary refs log tree commit diff stats
path: root/hw/core/generic-loader.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-09-26 17:48:50 +0200
committerThomas Huth <thuth@redhat.com>2018-10-17 08:36:28 +0200
commit97ff87c0ed020c2a4b931146e142d67abe852e22 (patch)
treeaa5c5de9ce476031ff56e27213f2cde13e769c09 /hw/core/generic-loader.c
parent957e8b34920a1404a1318b2e1ffa0726d40e0a9b (diff)
downloadfocaccia-qemu-97ff87c0ed020c2a4b931146e142d67abe852e22.tar.gz
focaccia-qemu-97ff87c0ed020c2a4b931146e142d67abe852e22.zip
qemu/compiler: Wrap __attribute__((flatten)) in a macro
Older versions of Clang (before 3.5) and GCC (before 4.1) do not
support the "__attribute__((flatten))" yet. We don't care about
such old versions of GCC anymore, but since Clang 3.4 is still
used in EPEL for RHEL7 / CentOS 7, we should not use this attribute
directly but with a wrapper macro instead.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/core/generic-loader.c')
0 files changed, 0 insertions, 0 deletions