From patchwork Fri Jan 3 23:17:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 854880 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp8479131wrq; Fri, 3 Jan 2025 15:18:49 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUGIqfuFlH6O4znFP2aXdQu+2lnD2ePIJOjmZOABYzIO+ePHi7fo46JHV9QB7OPms9S/grQyg==@linaro.org X-Google-Smtp-Source: AGHT+IFTvmvfHP1ePXJq2G20Lk+AvpQWgbHnlOKo5OMQ3q/Z67LhcIYbBM0VETbDEUnSm7oAqGOd X-Received: by 2002:a05:620a:2987:b0:7b6:c92e:2e83 with SMTP id af79cd13be357-7b9ba73f86dmr7802568185a.17.1735946329598; Fri, 03 Jan 2025 15:18:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735946329; cv=none; d=google.com; s=arc-20240605; b=TRAxSTT+WLGfcwWIjUn9dz3WnzjyQAB5yA8WxUwx1eGfGUaeB1CJJ6qg/wsCPYk3Z+ DYyklSvPBxUKCIhA06UEz5uuh5ODHiiT1KMlCXuWIp4apWnNhWlvafqT33ddTM/fGh/C j66lHiaVDnNcoiq3OjVFJw+Dt09eKz2YqCznQwY8sRY02r/4y4aGxlJAtGQi3fRn6Pqb XrPNRSO43rxI9FobPJ4gXTqIJ8hHsIY5V2z8zNT//buI6Q0GakEHh60AWPiOpZoP+jTr yWBL4y0bHMcreydcsGtQElkL/RBGEOopWwp7vxl0dBi2fGWoki0EyDXhx90N/0LX72R4 Yjcw== 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=Dvr9i4kjv30irFUGSKh7uwfrgCkzcWtJhKmLo4Kj02k=; fh=LruyahbjVMIdbB+JnKKCVZ8zocnkkp/6SVOzQ20og/0=; b=MDUgLzI12IyZ8EeMM/F00LCEPeMZ4kQVvED+1AgjYZRTlSWu9viyPlJ1koQpimpDZl Ru5q5HIsmHY4hWmf6/bNeh89B8hJL/fVeAkVAnz98rk93Iwr5p9DMnCg6V2RttfBPmO3 as+oHJr+MWRpToGP2NBQpwc7RWf/gGPnYxUJLVVN6SrSzASYojj7UQLlwKxFIb7itJWc N+4RdNmRT9uEu07ItBF2CsPS2egiBlJdwiDOYgjdTy+8rsNGwuHSHHWcKOIMoGtOuAz8 RSKlbFf0evqW0N99UKeLSOM4XQiFtRwsHfKKjcxwVlgvelXevNDyeEqP+o/KvtOKN0Up buDQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cfjna+cK; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b9ac2ad631si3729522585a.100.2025.01.03.15.18.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Jan 2025 15:18:49 -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=Cfjna+cK; 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 ) id 1tTqvj-0007hS-BU; Fri, 03 Jan 2025 18:18:11 -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 ) id 1tTqvb-0007ga-Fy for qemu-devel@nongnu.org; Fri, 03 Jan 2025 18:18:04 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTqvZ-0004JB-SO for qemu-devel@nongnu.org; Fri, 03 Jan 2025 18:18:03 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-385e06af753so6430526f8f.2 for ; Fri, 03 Jan 2025 15:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735946279; x=1736551079; 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=Dvr9i4kjv30irFUGSKh7uwfrgCkzcWtJhKmLo4Kj02k=; b=Cfjna+cKtWmohoBijknJyZ6H+a6gIz6cBVrnPAC12qB4eyNAGRNBoLrVQQ57iZto7V sOXMmUT448QkHEJiqdHVYOK2V47wp8WMjlI3KXP7Ma/smr5zzInAqsldjFiPIobY8lSB FulgHHGkQ8qpCW1oPGo/V4WyTdaqKuIDtA9b4R/hJUympNX92uL1nNm72OH12zesnYbY SlVYUpbWF3/c07StqayD89T5di5Bc+UFae3Si4xJOvkM4HV0N9kq2ahXDWoYuE+nLtkL DSwvSn5kSIDAp/GMzSSkUutyx2bqJRukJCvJ/CJ+bJCc59XVnyR8IQC19cv5pJuzCdw1 Xc/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735946279; x=1736551079; 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=Dvr9i4kjv30irFUGSKh7uwfrgCkzcWtJhKmLo4Kj02k=; b=SELgaIqxbtWCxkvUIenDlGYMuMgGM8Nllb9VgdyOm0HepAWe2fGt8Z954LhvlKjl+x NpWBkrCpCIfGVGhwX7mt+JoxixbwbErOdt7x8OSmReb9uQ6AzaxIusQ47ziCp0VZv/9c t+GKEDf/M/bkWjnpFwGwUb7i38sK8YefmKL9nI+oz8WaERK/Qh65ZQ7owlAJFlGFF7Rt gASebXnYFz19t6u5If1FYPA8X4lDLBgfPnb2iO6PQUpPLfmiVEZwCR+ZjBbz9c+AO9j1 lHGtGcWmVrgpM4Pc6fkRVoTuMi3aNcgy9GqBU0NMY5vvqa/uZdJSme0U/nu8ZV590tnL 91GA== X-Gm-Message-State: AOJu0Yzzficg1roz2LoiZm9L0ouG0gq93THcSQbSopPrAxJ6ubeUFfLa t5v4vpN9J/qeR3AaM+Qb8jYZYf9vffNqdqSHmKjzAso4js2ufEWqoHAdxlaLIZyu5Oi4qXgHOZS bkpk= X-Gm-Gg: ASbGnct4BW0jREY8Rj0YYdCBPok3CNiIADX15HT9H00ZPUNd9S4oV8PuhgrkRtOyMJS BEpvB+DDMrsevmAE33xu/gmKZRCak8s/EhFDx34gyegJd6qfXc34J63W/rpE3D1Yd1cQ7fzAR0w ccJVfRshGKABNnH5xDzWw44ua9frnjYlJUf6/v2ZV8ub8QELaqUqXJIt9gOn2szhDPLtbqVGMw/ DEwB/BMLLJU62LaoQlrfrj9JmWrAqOKc/P1Ux4ZfXi6F6AHrBupxj99Nwv5WH5ieCbuQkp477CR bQcHc8DcRc7XJtmv/YzofI7xJbxR4N8= X-Received: by 2002:a05:6000:704:b0:385:fc00:f5d4 with SMTP id ffacd0b85a97d-38a221f9f79mr43046709f8f.29.1735946279572; Fri, 03 Jan 2025 15:17:59 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43661200abesm493862365e9.18.2025.01.03.15.17.58 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 03 Jan 2025 15:17:59 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , Brian Cain , Anton Johansson , Daniel Henrique Barboza , Thomas Huth , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [RFC PATCH 3/6] target/xtensa: Move xtensa-isa.c to common_ss[] Date: Sat, 4 Jan 2025 00:17:35 +0100 Message-ID: <20250103231738.65413-4-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 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.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: 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 The Xtensa disassembler (selected with CONFIG_XTENSA_DIS=y) uses methods defined in xtensa-isa.c, so this file has to be compiled when the disassembler is linked. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/xtensa/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/xtensa/meson.build b/target/xtensa/meson.build index f8d60101e3d..68ebfe2582d 100644 --- a/target/xtensa/meson.build +++ b/target/xtensa/meson.build @@ -12,9 +12,10 @@ xtensa_ss.add(files( 'op_helper.c', 'translate.c', 'win_helper.c', - 'xtensa-isa.c', )) +common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa-isa.c')) + xtensa_system_ss = ss.source_set() xtensa_system_ss.add(files( 'dbg_helper.c',