From patchwork Thu Dec 2 20:49:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 519759 Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp1167578imb; Thu, 2 Dec 2021 12:52:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNXgvcGgYMY2bUxQSdsA6p0xsMUKLFXffOGn9pnrZJwOucOibBW0rPJsHEls062Ei46vIE X-Received: by 2002:ab0:2498:: with SMTP id i24mr18671315uan.18.1638478350243; Thu, 02 Dec 2021 12:52:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638478350; cv=none; d=google.com; s=arc-20160816; b=FgjOWcd+b8ahjc/uORg5hCCB3WTTKKhvXheEfwl7lVuJ1+a83+642mneOXm6rIW99E YPVH4qMEM5qkJibtbQ6mqxmVHr7fBpAwn/3AlNwfsaP2J6zCQW86H5old295FbyMYOww 30DX4Q72a0wOKzV1hHe9J523cQMYeE1+nsvLzXEHXiH+ROIj9gkPNBlnlrNfzs6GgGv6 6+ztRgTLsKFdZOpaEVN/gyy1sRvshAWA7XBXbRI7YFk+eV/KRTTYo9el2WFxWmPuVvad mgL4NsrLiMoHe4ROQzn7N3q6g+L0z0FyDS2k7bPiOIUARys5E9E4FJKBFMM6u9hwE+gp Aetw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=z9CNoFSrWjAjukly+g7lYy0zjZhRUxJXZZvZuVjkY44=; b=mVlKUDP/TSkWcY3V7g48ILQ7PiWSLuFXk1W1IVkGkKXj03IcoaAQtWUkGnZd18v01v 4w1MrJTtccHC84iYVpIJDo9L7Oota836pciRKqc0mroosx1nWrmgz8SL3johY/hiHde3 z3LzMhQttm9NQ7rFMMGppb6KZ4CP0SlndV60ajw0uEeJl0WavmF310CKPamrcydmkssd 2IAeIoYnvQlFV1WZi6azYbCpCi6fthjGz3lmZegfR88jZXWv7VX8E+HEx7rSfQtjx/Qd wMZjeWFYmdMYKjcRiepDwcP5fKy9W3ifZ0dNk2SqWmmoD70XnW4RtouJBhX8kzMdg6Dg gOIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IppJY0cF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v18si1145204vsi.493.2021.12.02.12.52.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Dec 2021 12:52:30 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IppJY0cF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mst49-0006BG-N4 for patch@linaro.org; Thu, 02 Dec 2021 15:52:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mst10-00009j-CO for qemu-devel@nongnu.org; Thu, 02 Dec 2021 15:49:14 -0500 Received: from [2607:f8b0:4864:20::1036] (port=33584 helo=mail-pj1-x1036.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mst0z-0005WJ-4y for qemu-devel@nongnu.org; Thu, 02 Dec 2021 15:49:14 -0500 Received: by mail-pj1-x1036.google.com with SMTP id w33-20020a17090a6ba400b001a722a06212so3817973pjj.0 for ; Thu, 02 Dec 2021 12:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z9CNoFSrWjAjukly+g7lYy0zjZhRUxJXZZvZuVjkY44=; b=IppJY0cFQhtprV+hVi3zZSq6ohWp70dtHV0hvF81kuzy7RhM0e2LkbQ9BxT24q25yi aTuUs8UMuoRHDVuzPFUGGsvJGfh36Vj6csvHq+5YEBrIcTqRDhlF/U5BZHUL5wf7jmlg qvwVAhFV4EOnZzsC0wcAceZgqUnxxZ74O8ogTFhcK/ieoyFnEtEgX1JPc7vYHYTOHPB+ lX9L2pxGM9PcnUzZhfL2LfShiiOZlcVYy4L8fHNp35h0/LIDr3Ce7sr6+8H3Y4BbDmMU IaXyQFVhjaNPHzfsGpJ7Jkm7AVd68KUsp49GKpfTWmSRzb9ioNif6dygQv+E/OiDf1yq Lwnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=z9CNoFSrWjAjukly+g7lYy0zjZhRUxJXZZvZuVjkY44=; b=0IlpIW7/6ZgHIWFqgzG0RtdyuSvjkgAHYw0EV2wv9UkrkdAP/wcubx9rlAUGhsH1RJ srPN0MfZmTM/HkbQhZvJq6JB3UD4AA9d4qMWYl/FUkOO94lLWpZzU6wWwkoYXqipcnSI FQXN/BS4GbxUjmD/s59pFU2bJAst9RGu/kl6oEq+zc6ESYoZd/JCXztbbvmoJuABrX3b clklsPw6lgiHDH3gxq9JQEeb3CR6trsPCQMqYYfms9BtYN+8ixqIw4StREmjU0Rag7DI 86SYXWLiGhLbj0+rAX/BNFUxe//cZAZ8hkpam61MuxncMGH5MvtUCy/ITLNCGPi2tQSF YC+Q== X-Gm-Message-State: AOAM531Et6krQjGVoDhyZMerOUP69GXO5y0zkXmz42RgQww0LYB7lVOx 9vDfpuLTk8nTuZhS4ZD+euUWoDZNr6qBPg== X-Received: by 2002:a17:90b:f81:: with SMTP id ft1mr8716036pjb.136.1638478152052; Thu, 02 Dec 2021 12:49:12 -0800 (PST) Received: from localhost.localdomain (174-21-75-75.tukw.qwest.net. [174.21.75.75]) by smtp.gmail.com with ESMTPSA id pi17sm3721391pjb.34.2021.12.02.12.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 12:49:11 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 15/15] linux-user/strace: Adjust get_thread_area for m68k Date: Thu, 2 Dec 2021 12:49:00 -0800 Message-Id: <20211202204900.50973-16-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211202204900.50973-1-richard.henderson@linaro.org> References: <20211202204900.50973-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1036 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1036.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Unlike i386, m68k get_thread_area has no arguments. Signed-off-by: Richard Henderson --- linux-user/strace.list | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux-user/strace.list b/linux-user/strace.list index 278596acd1..72e17b1acf 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -384,8 +384,13 @@ { TARGET_NR_getsockopt, "getsockopt" , NULL, NULL, NULL }, #endif #ifdef TARGET_NR_get_thread_area +#if defined(TARGET_I386) && defined(TARGET_ABI32) { TARGET_NR_get_thread_area, "get_thread_area", "%s(0x"TARGET_ABI_FMT_lx")", NULL, NULL }, +#elif defined(TARGET_M68K) +{ TARGET_NR_get_thread_area, "get_thread_area" , "%s()", + NULL, print_syscall_ret_addr }, +#endif #endif #ifdef TARGET_NR_gettid { TARGET_NR_gettid, "gettid" , "%s()", NULL, NULL },