unicorn/qemu
mio ae1b6ad89b
Support building on Android arm aarch64 x86 x86_64
1. Add cmake support in CMakeLists.txt according to https://developer.android.com/ndk/guides/other_build_systems

2. Resolve symbols errors

3. Backport fixes from 438ed42311

   > QEMU relies on two optimization for ppc64 and arm:
   >
   > 1. if(0) /* optimized code */
   > 2. assert(0); /* optimized code */
   >
   > But the assert on mingw32 doesn't have noreturn attribute which prevents
   > the second optimization and some code is reverted to the original code
   > to fit in the first optimization.
   >
   > The assert implementation is copied from glib as qemu did.

   Unfortunately, NDK also doesn't have an assert implementation qemu prefers.
2021-10-06 04:42:44 +08:00
..
accel/tcg Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
crypto import Unicorn2 2021-10-03 22:14:44 +08:00
fpu import Unicorn2 2021-10-03 22:14:44 +08:00
hw import Unicorn2 2021-10-03 22:14:44 +08:00
include Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
libdecnumber import Unicorn2 2021-10-03 22:14:44 +08:00
scripts import Unicorn2 2021-10-03 22:14:44 +08:00
softmmu import Unicorn2 2021-10-03 22:14:44 +08:00
target Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
tcg Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
trace import Unicorn2 2021-10-03 22:14:44 +08:00
util Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
.editorconfig import Unicorn2 2021-10-03 22:14:44 +08:00
aarch64.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
aarch64eb.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
arm.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
armeb.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
CODING_STYLE.rst import Unicorn2 2021-10-03 22:14:44 +08:00
configure import Unicorn2 2021-10-03 22:14:44 +08:00
COPYING import 2015-08-21 15:04:50 +08:00
COPYING.LIB import Unicorn2 2021-10-03 22:14:44 +08:00
exec-vary.c import Unicorn2 2021-10-03 22:14:44 +08:00
exec.c Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
LICENSE import Unicorn2 2021-10-03 22:14:44 +08:00
m68k.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
MAINTAINERS import Unicorn2 2021-10-03 22:14:44 +08:00
memory_ldst.inc.c import Unicorn2 2021-10-03 22:14:44 +08:00
mips64.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
mips64el.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
mips.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
mipsel.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
ppc64.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
ppc.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
riscv32.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
riscv64.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
rules.mak import Unicorn2 2021-10-03 22:14:44 +08:00
sparc64.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
sparc.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00
unicorn_common.h import Unicorn2 2021-10-03 22:14:44 +08:00
VERSION import Unicorn2 2021-10-03 22:14:44 +08:00
vl.h import 2015-08-21 15:04:50 +08:00
x86_64.h Support building on Android arm aarch64 x86 x86_64 2021-10-06 04:42:44 +08:00