mirror of
https://github.com/qemu/qemu.git
synced 2024-12-14 15:03:33 +08:00
999b53ec87
Use libvixl to implement disassembly output in debug logs for A64, for use with both AArch64 hosts and targets. Signed-off-by: Claudio Fontana <claudio.fontana@linaro.org> [PMM: * added support for target disassembly * switched to custom QEMUDisassembler so the output format matches what QEMU expects * make sure we correctly fall back to "just print hex" if we didn't build the AArch64 disassembler because of lack of a C++ compiler * rename from 'aarch64' to 'arm-a64' because this is a disassembler for the A64 instruction set * merge aarch64.c and aarch64-cxx.cc into one C++ file * simplify the aarch64.c<->aarch64-cxx.cc interface] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
25 lines
964 B
Makefile
25 lines
964 B
Makefile
|
|
common-obj-$(CONFIG_ALPHA_DIS) += alpha.o
|
|
common-obj-$(CONFIG_ARM_DIS) += arm.o
|
|
common-obj-$(CONFIG_ARM_A64_DIS) += arm-a64.o
|
|
common-obj-$(CONFIG_ARM_A64_DIS) += libvixl/
|
|
libvixldir = $(SRC_PATH)/disas/libvixl
|
|
$(obj)/arm-a64.o: QEMU_CFLAGS += -I$(libvixldir)
|
|
common-obj-$(CONFIG_CRIS_DIS) += cris.o
|
|
common-obj-$(CONFIG_HPPA_DIS) += hppa.o
|
|
common-obj-$(CONFIG_I386_DIS) += i386.o
|
|
common-obj-$(CONFIG_IA64_DIS) += ia64.o
|
|
common-obj-$(CONFIG_M68K_DIS) += m68k.o
|
|
common-obj-$(CONFIG_MICROBLAZE_DIS) += microblaze.o
|
|
common-obj-$(CONFIG_MIPS_DIS) += mips.o
|
|
common-obj-$(CONFIG_MOXIE_DIS) += moxie.o
|
|
common-obj-$(CONFIG_PPC_DIS) += ppc.o
|
|
common-obj-$(CONFIG_S390_DIS) += s390.o
|
|
common-obj-$(CONFIG_SH4_DIS) += sh4.o
|
|
common-obj-$(CONFIG_SPARC_DIS) += sparc.o
|
|
common-obj-$(CONFIG_LM32_DIS) += lm32.o
|
|
|
|
# TODO: As long as the TCG interpreter and its generated code depend
|
|
# on the QEMU target, we cannot compile the disassembler here.
|
|
#common-obj-$(CONFIG_TCI_DIS) += tci.o
|