OSDN Git Service

tcg: split tcg_op_defs to -common
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Fri, 11 Sep 2015 05:39:34 +0000 (22:39 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Sep 2015 15:33:33 +0000 (17:33 +0200)
commit7d8f787d9d261d6880b69e35ed682241e3f9242f
tree85149e67c9a70901396e16280cae707c672bdb49
parent9b68a7754a892d8deb7696cfe609fe2ec3c6034a
tcg: split tcg_op_defs to -common

tcg_op_defs (and the _max) are both needed by the TCI disassembler. For
multi-arch, tcg.c will be multiple-compiled (arch-obj) with its symbols
hidden from common code. So split the definition off to new file,
tcg-common.c which will remain a regular obj-y for use by both the TCI
disas as well as the multiple tcg.c's.

Cc: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Message-Id: <4b607425886d85aee65878e4935dfad46b3e6085.1441614289.git.crosthwaite.peter@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile.target
tcg/tcg-common.c [new file with mode: 0644]
tcg/tcg.c
tcg/tci/tcg-target.c