On 4/5/21 7:31 AM, cupertinomira...@gmail.com wrote:
diff --git a/configure b/configure
index 535e6a9269..80d993fac7 100755
--- a/configure
+++ b/configure
@@ -680,6 +680,8 @@ elif check_define __arm__ ; then
    cpu="arm"
  elif check_define __aarch64__ ; then
    cpu="aarch64"
+elif check_define __arc__ ; then
+  cpu="arc"
  else
    cpu=$(uname -m)
  fi

This is host related, not target.

diff --git a/disas.c b/disas.c
index a61f95b580..a10fa41330 100644
--- a/disas.c
+++ b/disas.c
@@ -208,6 +208,8 @@ static void initialize_debug_host(CPUDebug *s)
      s->info.cap_insn_split = 6;
  #elif defined(__hppa__)
      s->info.print_insn = print_insn_hppa;
+#elif defined(__arc__)
+    s->info.print_insn = print_insn_arc;
  #endif

As is this.

Until arc can self-host qemu, you don't need them.

--- a/hw/arc/Makefile.objs

Leftover from before meson.build.


r~

Reply via email to