qemu-e2k/disas/libvixl
Stefano Stabellini 834fb1b269 disas/libvixl: prepend the include path of libvixl header files
Currently the Makefile of disas/libvixl appends
-I$(SRC_PATH)/disas/libvixl to QEMU_CFLAGS. As a consequence C++ files
that #include "utils.h", such as disas/libvixl/a64/instructions-a64.cc,
are going to look for utils.h on all the other include paths first.

When building QEMU as part of the Xen make system, another unrelated
utils.h file is going to be chosen for inclusion, causing a build
failure:

In file included from disas/libvixl/a64/instructions-a64.cc:27:0:
/qemu/disas/libvixl/a64/instructions-a64.h:88:64: error:
'rawbits_to_float' was not declared in this scope
 const float kFP32PositiveInfinity = rawbits_to_float(0x7f800000);

Fix the problem by prepending (rather than appending) the libvixl
include path to QEMU_CFLAGS.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-07-08 12:45:57 +01:00
..
a64 disas/libvixl: Fix wrong format strings 2014-06-29 22:04:28 +01:00
globals.h disas/libvixl: Update to libvixl 1.4 2014-05-13 16:09:35 +01:00
LICENCE disas: Add subset of libvixl sources for A64 disassembler 2014-02-08 14:50:48 +00:00
Makefile.objs disas/libvixl: prepend the include path of libvixl header files 2014-07-08 12:45:57 +01:00
platform.h disas/libvixl: Update to libvixl 1.4 2014-05-13 16:09:35 +01:00
README disas/libvixl: Update README for version base 2014-06-29 22:02:52 +01:00
utils.cc disas/libvixl: Update to libvixl 1.4 2014-05-13 16:09:35 +01:00
utils.h disas/libvixl: Update to libvixl 1.4 2014-05-13 16:09:35 +01:00

The code in this directory is a subset of libvixl:
 https://github.com/armvixl/vixl
(specifically, it is the set of files needed for disassembly only,
taken from libvixl 1.4).
Bugfixes should preferably be sent upstream initially.

The disassembler does not currently support the entire A64 instruction
set. Notably:
 * No Advanced SIMD support.
 * Limited support for system instructions.
 * A few miscellaneous integer and floating point instructions are missing.