mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +00:00
3f0c342309
Add nios2 disassembler support. This patch is composed from binutils files from commit "Opcodes and assembler support for Nios II R2". The files from binutils used in this patch are: include/opcode/nios2.h include/opcode/nios2r1.h include/opcode/nios2r2.h opcodes/nios2-opc.c opcodes/nios2-dis.c Checkpatch says total: 114 errors, 0 warnings, 3609 lines checked , which is caused by a different coding style in those files. These warnings and errors are not addressed To let these files be easily synchronized between binutils and qemu. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chris Wulff <crwulff@gmail.com> Cc: Jeff Da Silva <jdasilva@altera.com> Cc: Ley Foon Tan <lftan@altera.com> Cc: Sandra Loosemore <sandra@codesourcery.com> Cc: Yves Vandervennet <yvanderv@altera.com> Reviewed-by: Alexander Graf <agraf@suse.de> Message-Id: <20170118220146.489-2-marex@denx.de> Signed-off-by: Richard Henderson <rth@twiddle.net>
29 lines
1.1 KiB
Makefile
29 lines
1.1 KiB
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
|
|
# The -Wno-sign-compare is needed only for gcc 4.6, which complains about
|
|
# some signed-unsigned equality comparisons in libvixl which later gcc
|
|
# versions do not.
|
|
arm-a64.o-cflags := -I$(libvixldir) -Wno-sign-compare
|
|
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_NIOS2_DIS) += nios2.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
|