This patch series aims to add the option to build without TCG for the powerpc target. This RFC shows mostly the strategies employed when dealing with compilation problems, and ask for input on the bits we don't quite understand yet.
The first patch mostly code motion, as referenced in 2021-04/msg0717. The second patch shows the 2 strategies we've considered, and hope to get feedback on. The third patch contains the stubs we haven't decided on how to deal with yet, but needed to exist to compile the project. The final patch just changes the meson.build rules Bruno Larsen (billionai) (4): target/ppc: Code motion required to build disabling tcg target/ppc: added solutions for problems encountered when building with disable-tcg target/ppc: Add stubs for tcg functions, so it build with disable-tcg target/ppc: updated build rules for disable-tcg option target/ppc/arch_dump.c | 17 + target/ppc/cpu.c | 859 +++++++++++++++++++++++ target/ppc/cpu.h | 15 + target/ppc/gdbstub.c | 253 +++++++ target/ppc/kvm.c | 30 + target/ppc/kvm_ppc.h | 11 + target/ppc/machine.c | 33 +- target/ppc/meson.build | 22 +- target/ppc/tcg-stub.c | 139 ++++ target/ppc/translate_init.c.inc | 1148 +------------------------------ 10 files changed, 1407 insertions(+), 1120 deletions(-) create mode 100644 target/ppc/tcg-stub.c -- 2.17.1