From patchwork Tue May 9 16:33:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 680215 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp2385508wrs; Tue, 9 May 2023 09:34:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qKo5RfCN5mqX4j30URlDAidVO5NLZZXd35y3y7tuB3ojEO1WIJQkWGosPw8Bzxzyh/oed X-Received: by 2002:a05:6214:40f:b0:5f1:6892:743c with SMTP id z15-20020a056214040f00b005f16892743cmr22006621qvx.24.1683650069804; Tue, 09 May 2023 09:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683650069; cv=none; d=google.com; s=arc-20160816; b=dOQnAkLUjcjjolCsBG1HSqYGgXRiOscpL7oBudIswjSAk6a79jQkWJJIy3CyaocN39 XCtuY6TpSFKM6NdTwFks64Wl7kSbCWw43gs1jFKzDQFv0eKyTJCd6YTCE8B0kclhcezk fP+pzrUfdSjT2rYtBq0IQFjh2dC4dpOhdYtzDBsmcLka3ZdOOAl/foMgc/iAEp4nCsdZ +xb4/UvW845ttULGzmdL6pHOitEiB3CR1/TcAZEOjoqqMo/JQuw8KOxJoE1fjXyXbqgZ o+ezonnKIpXOyQlOQbehTFJgmJqCkto6K2t6RhH/bPVURinyyA6iXgwvEDqfLIvCZYys OzkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=tk/Olu2Bf85J93sQfImDeFqS8c5LlV3FpMEjcgGhhmo=; b=F76xXK0EvjXAtR1cKVsUchormw9HC2LIBWFw8qiQ9YiHXZ+NOxf3oba7gCbMOE85qy kDnjbppOVMkO48yxm2dTQok/1SlKUxYsUSXrv9KDpvJNqflhhzP5MH7gjGqJB/Q/xR/o pbU9l7AYrlQgGqNJwQ/LJVGq5pRmTb+n01tNfRrGRWT+o5DIhaiz8WHzR5vkNry5U3FE oteahWjWxOAsbbvV1rc5SOsUasfGLrO/bRHOuKxSKXFpq1tWQvjBNtESzyWEbVs09z0Q NagCFNkb8kqKm7K1c2mDxwCcxAfK9g5f8Ua9jiuHypGyA5aeS8KYajpcurvGoUJ/JrFF 1CMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eGCKOfei; 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 f2-20020a056214076200b006212d563342si755235qvz.283.2023.05.09.09.34.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 May 2023 09:34:29 -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=eGCKOfei; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwQHO-0004gj-9Z; Tue, 09 May 2023 12:33:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwQHM-0004g6-He for qemu-devel@nongnu.org; Tue, 09 May 2023 12:33:32 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwQHJ-0007W4-UD for qemu-devel@nongnu.org; Tue, 09 May 2023 12:33:32 -0400 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3062b101ae1so3922549f8f.2 for ; Tue, 09 May 2023 09:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683650008; x=1686242008; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tk/Olu2Bf85J93sQfImDeFqS8c5LlV3FpMEjcgGhhmo=; b=eGCKOfeiqbtPsifTphZYfQauUGLIJZYYRwJbi4KDonDeSbGSz+g0XdLaYQPGcZFqSC jbloXOO9BmEl01/gd1yl63TCQzRVQfKoGvRMlokGvsFPJqM2g0kgYXEaLFk8oEzoS7zb Gm5cIidv+QJNFhZenOmeB+DxdDJpOaNjFMF/blWqVBNQCqNrh8I9cSlbvBdDaMMvP8o6 AzcuFwsTtpMNXP5J1dSgEqMweDQdwQdidjDECqfpHGIbxR7IN7udkAOLxSAJOt5vKIni zJNdAL9eJCMVkTW78RgofXPYY/7T1gSzpP2t13DgZepYjjOB5FsvpKAR+Jswgog1whdA PG6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683650008; x=1686242008; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tk/Olu2Bf85J93sQfImDeFqS8c5LlV3FpMEjcgGhhmo=; b=WV3LStnObpqdf6qlT66pcG9ZNT+LmNvdSLQ3zYjC5XXhQXf14MrznUF/Q1nY8gOf/f 0m6rv836IlWnFuXzzq+Ru+24ew2XyLBox2hS8NbXa1g2jGDmG7nOq3qa0dQJV/kUSUZ/ x4KFsJ4Fvs7MZez5QAn6aPBJCP0nkrZGNpZ8G+MvjbR2N4v+ET45vOIcQ1GN0n4gkwrD bYttrqErq1ONSUzl3YQCAGV+zJoWmlct1ehxy2W701PsSCakteVKC9USXLi8VUMZy6W4 zP8cH0xfd2UwjszhjPn8SjMRXFsxx+dO1GQh4cRhSNGeQcdFCr+uaXr1YnoYyKEpFSIB 7mGA== X-Gm-Message-State: AC+VfDxKA4tdrpllJyC50+dSqyU3nf9bymsPo1Mlq4uHYiXIBMcgJLxs 7tEhKVAtORht3oIw829SaA05sJX1gvcb6mIHISvuKQ== X-Received: by 2002:a05:6000:1148:b0:306:36e7:db27 with SMTP id d8-20020a056000114800b0030636e7db27mr10225513wrx.16.1683650008443; Tue, 09 May 2023 09:33:28 -0700 (PDT) Received: from stoup.. ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id e1-20020adfdbc1000000b0030795249ffasm7393298wrj.92.2023.05.09.09.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 May 2023 09:33:28 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: anjo@rev.ng, philmd@linaro.org, thuth@redhat.com Subject: [PATCH v2 1/5] disas: Move disas.c to disas/ Date: Tue, 9 May 2023 17:33:22 +0100 Message-Id: <20230509163326.121090-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230509163326.121090-1-richard.henderson@linaro.org> References: <20230509163326.121090-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x42d.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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Reviewed-by: Thomas Huth Signed-off-by: Richard Henderson Message-Id: <20230503072331.1747057-80-richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé --- meson.build | 3 --- disas.c => disas/disas.c | 0 disas/meson.build | 4 +++- 3 files changed, 3 insertions(+), 4 deletions(-) rename disas.c => disas/disas.c (100%) diff --git a/meson.build b/meson.build index 229eb585f7..d56358b65f 100644 --- a/meson.build +++ b/meson.build @@ -3152,9 +3152,6 @@ specific_ss.add(files('cpu.c')) subdir('softmmu') -common_ss.add(capstone) -specific_ss.add(files('disas.c'), capstone) - # Work around a gcc bug/misfeature wherein constant propagation looks # through an alias: # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99696 diff --git a/disas.c b/disas/disas.c similarity index 100% rename from disas.c rename to disas/disas.c diff --git a/disas/meson.build b/disas/meson.build index c865bdd882..cbf6315f25 100644 --- a/disas/meson.build +++ b/disas/meson.build @@ -10,4 +10,6 @@ common_ss.add(when: 'CONFIG_RISCV_DIS', if_true: files('riscv.c')) common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c')) common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c')) common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c')) -common_ss.add(when: capstone, if_true: files('capstone.c')) +common_ss.add(when: capstone, if_true: [files('capstone.c'), capstone]) + +specific_ss.add(files('disas.c'), capstone)