All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: Richard Henderson <richard.henderson@linaro.org>,
	Richard Henderson <rth@twiddle.net>,
	Peter Maydell <peter.maydell@linaro.org>,
	Eduardo Habkost <ehabkost@redhat.com>,
	"Emilio G . Cota" <cota@braap.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Thomas Huth <thuth@redhat.com>, Alexander Graf <agraf@suse.de>
Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	qemu-devel@nongnu.org, qemu-s390x@nongnu.org
Subject: [Qemu-devel] [PATCH 3/5] target/s390x: tcg stubs
Date: Mon, 30 Oct 2017 00:05:51 -0300	[thread overview]
Message-ID: <20171030030553.21259-4-f4bug@amsat.org> (raw)
In-Reply-To: <20171030030553.21259-1-f4bug@amsat.org>

missing since 55c3ceef61:

    LINK    s390x-softmmu/qemu-system-s390x
  target/s390x/cpu.o: In function `s390_cpu_class_init':
  target/s390x/cpu.c:500: undefined reference to `s390x_translate_init'

Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 target/s390x/tcg-stub.c    | 13 +++++++++++++
 target/s390x/Makefile.objs |  1 +
 2 files changed, 14 insertions(+)
 create mode 100644 target/s390x/tcg-stub.c

diff --git a/target/s390x/tcg-stub.c b/target/s390x/tcg-stub.c
new file mode 100644
index 0000000000..1e3ed46e89
--- /dev/null
+++ b/target/s390x/tcg-stub.c
@@ -0,0 +1,13 @@
+/*
+ * QEMU TCG support -- s390x specific function stubs.
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+#include "qemu/osdep.h"
+#include "internal.h"
+
+void s390x_translate_init(void)
+{
+}
diff --git a/target/s390x/Makefile.objs b/target/s390x/Makefile.objs
index 31932de9cf..31dd498d01 100644
--- a/target/s390x/Makefile.objs
+++ b/target/s390x/Makefile.objs
@@ -1,6 +1,7 @@
 obj-y += cpu.o cpu_models.o cpu_features.o gdbstub.o interrupt.o helper.o
 obj-$(CONFIG_TCG) += translate.o cc_helper.o excp_helper.o fpu_helper.o
 obj-$(CONFIG_TCG) += int_helper.o mem_helper.o misc_helper.o crypto_helper.o
+obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o
 obj-$(CONFIG_SOFTMMU) += machine.o ioinst.o arch_dump.o mmu_helper.o diag.o
 obj-$(CONFIG_SOFTMMU) += sigp.o
 obj-$(CONFIG_KVM) += kvm.o
-- 
2.15.0.rc2

  parent reply	other threads:[~2017-10-30  3:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-30  3:05 [Qemu-devel] [PATCH 0/5] build fixes for --disable-tcg Philippe Mathieu-Daudé
2017-10-30  3:05 ` [Qemu-devel] [PATCH 1/5] accel/tcg: add missing target-independent stubs Philippe Mathieu-Daudé
2017-10-30  3:05 ` [Qemu-devel] [PATCH 2/5] target/i386: tcg stubs Philippe Mathieu-Daudé
2017-10-30  9:05   ` Eduardo Habkost
2017-10-30  3:05 ` Philippe Mathieu-Daudé [this message]
2017-10-30  7:57   ` [Qemu-devel] [PATCH 3/5] target/s390x: " Thomas Huth
2017-10-30  3:05 ` [Qemu-devel] [PATCH 4/5] accel/tcg: add a stub for tcg_region_init() Philippe Mathieu-Daudé
2017-10-30  3:05 ` [Qemu-devel] [PATCH 5/5] accel/tcg: add a stub for tcg_register_thread() Philippe Mathieu-Daudé
2017-10-30  8:05 ` [Qemu-devel] [PATCH 0/5] build fixes for --disable-tcg Thomas Huth
2017-10-30 12:46   ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171030030553.21259-4-f4bug@amsat.org \
    --to=f4bug@amsat.org \
    --cc=agraf@suse.de \
    --cc=cota@braap.org \
    --cc=ehabkost@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=rth@twiddle.net \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.