Message ID | 20250103231738.65413-7-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp8479183wrq; Fri, 3 Jan 2025 15:19:05 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVy0PoDBWjfJo9F8pTGGtCICC1JjGfOU22dk31foxyELt4agP4PwLYgCR0BRp4DZModiJlx0Q==@linaro.org X-Google-Smtp-Source: AGHT+IGqgN9bP5OyLhyNcEDkP6XKTBURUKJ/E8/n7LWlIj7sBjfQiO4IIJffuKSWj1rjnM/wwqCP X-Received: by 2002:a05:620a:29d0:b0:7b6:dfcf:3352 with SMTP id af79cd13be357-7b9ba7eca8fmr8494843685a.38.1735946345170; Fri, 03 Jan 2025 15:19:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735946345; cv=none; d=google.com; s=arc-20240605; b=WO3Bv1J8lAOl/h2i+3YnbvFrsAqgG/O1IdnloqwRXTPk32oaBsKTYvWgkRsTWf2UAW OFx4dD7OQQslqvPGezSALYRf5vt5C5l289QIaaG8zXZ8eIiIgsiK+lWp07Q3ng64olgx 3+719jiKvnJhfNohHrYGfKbYDGQ5wUdklZ8yuqaDTPLzOYd1dqabPuxpwZKz8kwgygZq JGjviE23B4UUHmPbGwWp/HJVxrwGU0iPRb/tpJQFSKZMv2NP4gKt9pPp8f7l3c/Xrd6x dhSZ2xiSnfeyJP7mKIBCfmMSTLOVNMnHdSRV4/LRYHxqS83W3P7NzmGQK6AksicX5R5G oHvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=NFgkKamr5QeIwstbRr7Q/p762wUgXwLu6RDwYB0Omtc=; fh=LruyahbjVMIdbB+JnKKCVZ8zocnkkp/6SVOzQ20og/0=; b=O4MBpNoFPyVVoA+sFP+Zpnvrt8WGJpj18WAJexUxrAYYeHRLXvMzx8xPfIsX2DOE/D eiUNot231vHH/1+DGXrvW4UXIPLo67drmMoXWCk4qHc+UEgnF90muh88Bja7pE+gYR10 lkzRUOPilGHOMYUrXu58tIINc1aJto3MtTcC71Ybu3OYvhB4oRJ/NNpWfKjLMjOlQp75 7QPeoU52ik+nPVMMF6N3lxZV8u4JKosAGUGFsUzHwIkgoJTcxaD02NdoNKUFn56sLucQ olq5R71wYa6df+4uH9kIpp4Z1lW6knWQ9Ff6hi/tXwTBopVJM+cr6Z9pXpUpdTjXLM45 6lvQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wXmEtYwp; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b9ac4dedd9si3850018985a.457.2025.01.03.15.19.05 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Jan 2025 15:19:05 -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=wXmEtYwp; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tTqvx-0007jL-7n; Fri, 03 Jan 2025 18:18:25 -0500 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 <philmd@linaro.org>) id 1tTqvv-0007iz-EK for qemu-devel@nongnu.org; Fri, 03 Jan 2025 18:18:23 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tTqvs-0004Kl-Sk for qemu-devel@nongnu.org; Fri, 03 Jan 2025 18:18:22 -0500 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-385df53e559so9964141f8f.3 for <qemu-devel@nongnu.org>; Fri, 03 Jan 2025 15:18:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735946299; x=1736551099; darn=nongnu.org; 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=NFgkKamr5QeIwstbRr7Q/p762wUgXwLu6RDwYB0Omtc=; b=wXmEtYwpUMEXiLKSfOddrl9CtuYv1JGRQNJdlMuIaFnn3t/dbsd/YMXZka0bixAGxX YJg29PVXP+n8S5JWwHUx6SLYXeUTTFxZdKt0FtFCIlvKly4Ui9X+FqzvoZSp1zn8KrZ2 9H5v0lFMSSgBWmTbOSGpnAaWIAAUTOaHKlGsKzk0qlcAGZdl+Zd9wQIAxrz6Z/c+dQ2h jJz/+69kznjx8tJpvl3eT27EKvX9QMazZmVL8fSs2LOlEETus/JLSM0UwLZo0XqjDaUb O5vUphD24q6ZQmGzfRYqGRWx763EtXIezJY+VN/dWCaQbWZEzIf8dcFJgEOFncS3uVvw /0Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735946299; x=1736551099; 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=NFgkKamr5QeIwstbRr7Q/p762wUgXwLu6RDwYB0Omtc=; b=t2n7aLFY7iv2W2hBWq5Jzc2+sKJJ+sQfq5RObdTP1yyZVaxqeYq/ZJJ+mo8FhhLhSg k7B1/coBx3VhrRHG3nM31nsNr3PM+epUM+sjuCXuPhfOSKYLNYDiH8uCqjseKoZrD8k6 cqx2vzELo6ya1GgdAGFbFgq+dBxaZQzv96yHjLkkD1BLBTm6jXuac0cqf1Z4Hx8QGzVZ lQjn5gakdzre2nUvOCh008Kss72YApoJBhaGHGPPnn7fBFwu4C2AC4iugP0Qy0ZrzljY QUlmLDF9B1tJddjfQcrSDzDJUArob020F+hUktiWDQ3SSekoWogFUnwACBkok7L9fP// wmiQ== X-Gm-Message-State: AOJu0Yy/Ldu1LG6jQjoIpLuwXi9VF8IcSxtkkWYGmv1Zk2a1QdF8WV1L l/j1lPd6FsyA5rdUfsdMrUkflTLi8ni0KCu2ud5IhQh94ojJqtn3IZepk8Y7oDZOaVniMG0XpnD QDfU= X-Gm-Gg: ASbGncshij/ql4RqlGGUw+F598Sps47yfbsAcr+YIOI1qACNqlfIf/lGe3Na+QgI6HM fYvZUViokp9bdWJSjq5BPJI7qjatGcEcUt65nJiUQpdnmXiesFRRdRIFqVdEN8yG3TstFwn64N3 YplAs8I+mWw62OZ1fmE7NMxd8szAFW383/v5bdg3W+XslNH2WKWYSowvxv1GZij7vGHUOIcw0px I/EcBNe2TpgpFrsqkkeRwIeZrJ8nuMO4LioZxWOp8hGE+GCln83BsYPqCJObs31nKpbitLxPH7T q5NSIVrtRbwI/QvWA3gC1C1G547+zMQ= X-Received: by 2002:a5d:64a3:0:b0:385:f527:be6d with SMTP id ffacd0b85a97d-38a2240074fmr41498707f8f.36.1735946298953; Fri, 03 Jan 2025 15:18:18 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a2e25edbbsm34109746f8f.110.2025.01.03.15.18.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 03 Jan 2025 15:18:18 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, Brian Cain <brian.cain@oss.qualcomm.com>, Anton Johansson <anjo@rev.ng>, Daniel Henrique Barboza <danielhb413@gmail.com>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org> Subject: [RFC PATCH 6/6] disas: Select capstone targets by default Date: Sat, 4 Jan 2025 00:17:38 +0100 Message-ID: <20250103231738.65413-7-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250103231738.65413-1-philmd@linaro.org> References: <20250103231738.65413-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.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 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
disas: Allow linking multiple disassemblers in a heterogeneous binary
|
expand
|
On 1/3/25 15:17, Philippe Mathieu-Daudé wrote: > When capstone is available, we get ARM/X86/PPC/S390X > disassemblers in common_ss[] for free. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > disas/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) Acked-by: Richard Henderson <richard.henderson@linaro.org> Hopefully starting with capstone 6 we'll be able to add more. r~
diff --git a/disas/Kconfig b/disas/Kconfig index 1d2c397c953..8af8ecd5c81 100644 --- a/disas/Kconfig +++ b/disas/Kconfig @@ -3,6 +3,7 @@ config ALPHA_DIS config ARM_DIS bool + default y if CAPSTONE config AVR_DIS bool @@ -15,6 +16,7 @@ config HPPA_DIS config I386_DIS bool + default y if CAPSTONE config LOONGARCH_DIS bool @@ -33,6 +35,7 @@ config OPENRISC_DIS config PPC_DIS bool + default y if CAPSTONE config RISCV_DIS bool @@ -42,6 +45,7 @@ config RX_DIS config S390_DIS bool + default y if CAPSTONE config SH4_DIS bool
When capstone is available, we get ARM/X86/PPC/S390X disassemblers in common_ss[] for free. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- disas/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)