From nobody Wed Nov 19 00:14:00 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1613394081; cv=none; d=zohomail.com; s=zohoarc; b=DccL8xRAUvZoBEb7nDcHZLZIctvp4FWKXC4juPcjP5mxO+7KiSjBJEMAnlHI/pqmu8ucSNWOYM85788eZGjHcsQ+vbtr+108rp2LvjGg5+S3yzsf/8vfJR8Q5NBtyYCks0ON4jWpgJ9R71z/yUr6xWhhhDOLRqIyHJa0RN3y5YQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613394081; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=iQf+E4IiToL+1kLeItwNr481snHDDfEBUGLVoN5fSi0=; b=irCld7Ne/e0Y1/nKCHGY9tHUc1oB8wzzKuRuc5hb2ZHkVWSIbMlj0i1aSZMNH6KEVaWUwjOflMVAlX4v/CK4jQGEIxlTe81chHGYfwfe7SIE0niCgQVcnIAjVVU7DddzXdHfv0tjuxmxN7MSc/a91Fc8H8URK5YKik2I5ePh2/w= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613394080598618.3631708587573; Mon, 15 Feb 2021 05:01:20 -0800 (PST) Received: from localhost ([::1]:56438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBdV8-0002u5-T7 for importer@patchew.org; Mon, 15 Feb 2021 08:01:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBdG9-0004A5-E9 for qemu-devel@nongnu.org; Mon, 15 Feb 2021 07:45:49 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:50949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBdFw-0000iB-G9 for qemu-devel@nongnu.org; Mon, 15 Feb 2021 07:45:47 -0500 Received: from localhost.localdomain ([82.252.134.158]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MQeDw-1lY7vB0R3m-00NkYY; Mon, 15 Feb 2021 13:45:23 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 01/13] linux-user/mips64: Restore setup_frame() for o32 ABI Date: Mon, 15 Feb 2021 13:45:07 +0100 Message-Id: <20210215124519.720265-2-laurent@vivier.eu> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210215124519.720265-1-laurent@vivier.eu> References: <20210215124519.720265-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:oKph+Z028sM2OW4CDO33cAwK1ohB25Th/DDnAJOSbQEC6lPBU8+ RkleIImUlrL8o+/CUN3I3Nj0zqq0My2XhVvIuvGBmgcuiOrmcmBh/G8SANbQuBRaSbeJ3ps iXYwfHhgm5jObKjcLAzRR7dVduflHkDW8JM5+k/RfPJnOSJP2Z9lQedncDdtN/H115TLN/D E9WczcHpFZYG8QOtS4gMA== X-UI-Out-Filterresults: notjunk:1;V03:K0:ugoxeImQXlI=:njLCyiAEdbiQzXxzQgYUvy crMOzAvB8P/b0rchL5QZDcKkud5A7sgNGjRWgUqQ5owQu1KylxXpJBxG5EM+RqhyeanN7gR+k 5HXLBNviK2u7Tkzz9FWYbPrDwd0++92kXgHNF6E0l0JqyInS9ie8dDkUjqC0rGcdSNfgYsA6g ZywtoEPXZKb0qEex1ghSOUNuhST1+Be84j0t6H+0ED5x2gfqQFWgHzLwE4x4irGPShCX8pWkk Y69n0YD6zxRwqhMkh+nMU0sX+tx9EzuUMXLlpduCPo9UApHiDTWJyc36PfL4YFw8MdwissUUa u9BV6sc4mqC6sFa52Szw/Z+k3KfrZ9KN4es3UIzSO4mk5wbgTf2/bhGiKiX5L+dbER0vheBWj uDudfQx2AJjPS55uyy32wTrqUmUaUuQnIPN8bbnRzgbyfCdnbQOdVyqgnQSxm Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=212.227.17.13; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daud=C3=A9 64-bit MIPS targets lost setup_frame() during the refactor in commit 8949bef18b9. Restore it declaring TARGET_ARCH_HAS_SETUP_FRAME, to be able to build the o32 ABI target. Fixes: 8949bef18b9 ("linux-user: move mips/mips64 signal.c parts to mips di= rectory") Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Reviewed-by: Laurent Vivier Message-Id: <20201119161710.1985083-2-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- linux-user/mips64/target_signal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux-user/mips64/target_signal.h b/linux-user/mips64/target_s= ignal.h index 799f7a668cd0..f1f0ed7f7067 100644 --- a/linux-user/mips64/target_signal.h +++ b/linux-user/mips64/target_signal.h @@ -67,4 +67,8 @@ typedef struct target_sigaltstack { #define TARGET_MINSIGSTKSZ 2048 #define TARGET_SIGSTKSZ 8192 =20 +#if defined(TARGET_ABI_MIPSO32) +/* compare linux/arch/mips/kernel/signal.c:setup_frame() */ +#define TARGET_ARCH_HAS_SETUP_FRAME +#endif #endif /* MIPS64_TARGET_SIGNAL_H */ --=20 2.29.2