From patchwork Mon Oct 30 03:05:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 831843 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="j1bnxJsR"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yQKDy1GfZz9t2r for ; Mon, 30 Oct 2017 14:08:34 +1100 (AEDT) Received: from localhost ([::1]:38477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90RE-0004Li-6p for incoming@patchwork.ozlabs.org; Sun, 29 Oct 2017 23:08:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e90QJ-0004I2-O7 for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e90QG-0007Ie-PM for qemu-devel@nongnu.org; Sun, 29 Oct 2017 23:07:35 -0400 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:43263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e90QG-0007Hw-L3; Sun, 29 Oct 2017 23:07:32 -0400 Received: by mail-qt0-x243.google.com with SMTP id j58so14738847qtj.0; Sun, 29 Oct 2017 20:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TWR8A64FAM1ReZJWpot4YCXvUN6RmwK83v/MgiuRSIw=; b=j1bnxJsRvNGtfu230dj8qlTDRIZydaOT5UY2evgXF5kqFXrBSgm+eErQDFEppb8tpe cxCoa+PNlWX0M6cO7bwCLHwrkursLMZqJY4jncvFBAtNEXKHkxmgI9/pmPhi2yJsGPjW OdGxNchSagmR5p/jqc1ACIX1J8YDwvsp4ZzNQ6xk2HNAE5Tqwb2sgiNR2EfTRHm0xknZ 8Pb6TojUFCoE4gsfCbwq3M07HfsnMuUW2off68WdsgMUxhNQV3qEWHn0ab7YosHKkT7U AZFY/ugO30bbuRbSsn2x9m8cO32vHqovP3UgyTY06spMz3/wPlQXY2nv3wqhCE6AlKaF FY9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=TWR8A64FAM1ReZJWpot4YCXvUN6RmwK83v/MgiuRSIw=; b=tcrg4m64GbGR1rpjNIuXml200LOaQdFCwISsTcfJAHNu/mvBtT7wsNcZnDUxDBQ3gs 5pRcSolyFEKmnTDvWFF5d1ZrZwl94eDk5j9jKEwNEtk+LzcxPWwfgE/2gv3H0qhU0/GB 3HeHHfeyfx02VM2y07TxnY9OQWwNPnuTjDo9Iwr1RZFlPef4blY0J8aq7+FHyuo3aTa4 olJtbaX/BOWvKWhCXRjVNz7YbcmiyWdJnAuPBfZiTwhEPeXuLgDNGftL4cZASLrxkNvw maGj9DqCUPW/bJ/W5X4+wV+h4EPaVVLKDozjAZ/rztqsQrlxTRZwnUCMflQjjx30RztW Igbg== X-Gm-Message-State: AMCzsaVhUSPjQ1piU9ws0s9uvembna8W54kImBQgBQi7JE0FIBDounJ3 YWJVtY+HI+0TN/f0U++Merw= X-Google-Smtp-Source: ABhQp+Qllm32E0bEC3x004CFbrJWIxXh965kopTLjNVz8A5oTHE4sICTkWvkGkO1OySlcovhlwaIeg== X-Received: by 10.200.34.239 with SMTP id g44mr11299680qta.111.1509332852132; Sun, 29 Oct 2017 20:07:32 -0700 (PDT) Received: from x1.local ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id w6sm9446094qtc.53.2017.10.29.20.07.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Oct 2017 20:07:31 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Richard Henderson , Richard Henderson , Peter Maydell , Eduardo Habkost , "Emilio G . Cota" , Paolo Bonzini , Thomas Huth , Alexander Graf Date: Mon, 30 Oct 2017 00:05:51 -0300 Message-Id: <20171030030553.21259-4-f4bug@amsat.org> X-Mailer: git-send-email 2.15.0.rc2 In-Reply-To: <20171030030553.21259-1-f4bug@amsat.org> References: <20171030030553.21259-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [PATCH 3/5] target/s390x: tcg stubs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-s390x@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 Signed-off-by: Philippe Mathieu-Daudé --- 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