From patchwork Sat Apr 30 17:53:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 568157 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp7376462map; Sat, 30 Apr 2022 11:08:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySfPTPnDCgSf/hE+uq9mfo0Hz1Mx+KvdkSCZH2u+wMxbNqMcsvYwUzNNJBwnGN44N7E8Ml X-Received: by 2002:a05:620a:1436:b0:69f:8c1c:d145 with SMTP id k22-20020a05620a143600b0069f8c1cd145mr3540372qkj.671.1651342088818; Sat, 30 Apr 2022 11:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651342088; cv=none; d=google.com; s=arc-20160816; b=F6UQgCXgHEKE0FZbYPSfMl7+XmqOn8DwNXPsriPfpWkpwVLHgKs0RLhZVNGOdFUmKf XWvUGxNnbm8YUqXfaUC0wpkCnbSzOaeZBsey9EeJlRfnYFfwLRrnGL2BDIotIX8Ooqgs zMUEnYFin2j9eeipTL6wT+bs3rqRXtasXpD53EXMrqXBkpZiS9y9/vT+8xHd7pYD78Ey 4D3h+Het8KcEqTzw/AgK+6slFuSIDQqjlyzCM6gEXEmO9bDzOUr2PwcVTFZjqcNNjNFP VjNrno74yMBRUVYZb2N7weYVQjEhUs0MMO6dvgkUlY/1PktUl1NTvgp9A38heWB5+lVJ ZvXw== 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=gj8aT9K8/vY1AA3/2X3YXf7zoSHmmenH8vDdjGXjcZ8=; b=xRyIwS8r9U0q5wDIWRKaVcYHjEv9Ugi4S5e8eKBi94+A5kvpdoEmRCMu0U3E4NxI+B Qp9Ng5r0M+qvkjzZXvwgZfgX7GVZoSgk2rcfFzgaNzQ6ItrxCGG9pUnDdNdGq6J+oorS X52w19XXvnaex+zuHf/ykPNYt6Mu63UoQ2u2YvxhcDCcMZCA7nDsgs0XZVRCw6RREV0K NeQ/CXcGYyYYYH6i6Y/FxM6jyc0u7YFcFWS7AZJNSWuu8dzQ7qQTuT0QZ6rK1HfB68rX wnJBR62hyMSAkW+ljRtMfegUi8r8jKbuQ3CvKK1rfLR86Bzsu0Yxy32ZNd/hI/s6dSaw akDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v7QxhdWa; 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 w6-20020a05620a424600b0069c52ee3accsi4667553qko.321.2022.04.30.11.08.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 30 Apr 2022 11:08:08 -0700 (PDT) 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=v7QxhdWa; 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]:34908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkrVo-0007le-EY for patch@linaro.org; Sat, 30 Apr 2022 14:08:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkrIA-0004kN-0b for qemu-devel@nongnu.org; Sat, 30 Apr 2022 13:54:02 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:36816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkrI8-00084J-IK for qemu-devel@nongnu.org; Sat, 30 Apr 2022 13:54:01 -0400 Received: by mail-pg1-x533.google.com with SMTP id g3so8815582pgg.3 for ; Sat, 30 Apr 2022 10:53:59 -0700 (PDT) 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=gj8aT9K8/vY1AA3/2X3YXf7zoSHmmenH8vDdjGXjcZ8=; b=v7QxhdWavQc5V53/n0lNekd+E1YHuu31xygHQGV/NfindONWJi6Rme6ZKfdFQzgyk7 6UtkGvI6Op1bMQyAfIOSDtVLvhf/mZanirSK/exY8MH2J31Q+OOnzrCt8rkwBIXmHDGr +rHfkcRGqEKv6VSImqHsZz2Cu5IK1mHcfkWSa3Ajy0Nl8hXUDhzbC+vvvmpp98tJPM7F qqmVG7sqmmoATlWJcYpXOMmXu5/6H/j65A2vA1m2xPwo778Pmu3t5FXFahNkeGdxF6ce wLnrjxyh/8FYk/fcQcIVGQFIntuDmdbRXK8jiYcRZi4YTJ3tZrJ+C2yVAF7h+dYYyqM1 IMRA== 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=gj8aT9K8/vY1AA3/2X3YXf7zoSHmmenH8vDdjGXjcZ8=; b=H2bGY6tq0snjAJtAzj96dYmw6OxzHQ2p8L8pGXe5d01r1Eib+tj3k6yTsaCPGGvmwP eLtp/i6pSnHeFuZVZP/sARJgW4kfgTietjRtGGeaLJqgPP8V8Mw4LVM+f8GFZe8rrT4i xLFlVnYgQdIGPuHsu0IP3NEbm0kbH9uE+8Aim43sJE3aHGCDkiAsuPHsquLcuAVRUnia A2+D8mSYM791OW2OFCZR8TFtXZDjI4TG5JjM9gl8k6opoPeGN1/hfpHmNL2qv+IpPDu0 gw+Cte/vInleAVcDcYt+uGu9OeUUVHPicfLaTGjcqE6JsirRwrp3oQhBOIUXwELwRkTA 6PSA== X-Gm-Message-State: AOAM533vsA7YYiFwySoguOpy06/Tju8EQWQj9DmSYYPkyeYNw1VTo/Hv P7Pl7ikubZmlntewMSDedT8M43HOOgniLA== X-Received: by 2002:a63:1117:0:b0:399:2df0:7fb9 with SMTP id g23-20020a631117000000b003992df07fb9mr3987408pgl.40.1651341238681; Sat, 30 Apr 2022 10:53:58 -0700 (PDT) Received: from stoup.. ([71.212.142.129]) by smtp.gmail.com with ESMTPSA id 5-20020a170902c20500b0015e8d4eb282sm1740910pll.204.2022.04.30.10.53.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 10:53:58 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 16/17] linux-user/strace: Adjust get_thread_area for m68k Date: Sat, 30 Apr 2022 10:53:41 -0700 Message-Id: <20220430175342.370628-17-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220430175342.370628-1-richard.henderson@linaro.org> References: <20220430175342.370628-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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 Reviewed-by: Laurent Vivier --- 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 },