From patchwork Wed Mar 5 15:39:28 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: 870572 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:178f:b0:38f:210b:807b with SMTP id e15csp850606wrg; Wed, 5 Mar 2025 07:44:02 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXd750IU8aqPBP2FhSMkghU0jSUt9DFow/ID9rTIiUoCxX32tDRepUYnsEblf6VeTYO96c0fQ==@linaro.org X-Google-Smtp-Source: AGHT+IECJt84OTJr8hA+pVTYIkenaI2ssarpmOJIYub+c8GqUaJFtwwMeXbZvUV121L1KKClnN5H X-Received: by 2002:a05:620a:1d01:b0:7c0:7c8f:c3a9 with SMTP id af79cd13be357-7c3d8e4643cmr563591885a.1.1741189441768; Wed, 05 Mar 2025 07:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741189441; cv=none; d=google.com; s=arc-20240605; b=B4KWJYap2A0pOitU8E6GOgBXR4f/Gr4I1eD+v4i0l2BOTIwgk8pjs05xG4fkK1O2YP Mc+oAajSnj/NjZgoyeeYTMkX5tx+Tf/U2KMEO3rTWvvioaVe0paWwKt07rhF6QJ7nETo 6ikhJ/Xw4ZSGVtB5CfFVwLJF1QQpYJQEoibZGfVDmXnW+cFwjWCH23e0wlJjOu5TkG43 dCBo5TZTWTvmyV9fPX2bhkDib9tW31Z7VzMVc4/B3e8lc9DGPMUg4+ElB0f7DSnX4gEL Z3usDK9v+dpM1T5LSC1//sV2uvDFA7rxScM80bb/59RSztkZk6o+XzTYpUOxw3mXpVIr AKBg== 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=fyaw8diXz251XjYJL/kNHyvPJKVoVonVHEPK8PU5vpE=; fh=iYS+U9AiAK/hVpJiag4U+eV/XPHIFc9y9I+tcL8yyYE=; b=dT/5gpKpR5gsavQoVyaGekSDqQ/fRDyOriECIZHQAl5cMmDKwNxOLSSf1GReOFSwPA e3AnhLhqizQsEuuLqYh14EnUKP5OZlfOlSJMMls/nY2WM3LZOhHDDkTjPHezh0Jz8Bjr wsqgUnejdRpBhQWSCX9dhc4+twsC1Y+HfowSK4RSa+ijEfq7cx1QDnAZG87bU6FfmO3+ t7fDc+ISC4X9m1M56g1ePD4czz3wjrjSPRK4KRzunfwdFaDX4WPy5YZQbTi3LXUnVeCY Grbk5GmC3rIqZQPSQ0YEWyUV393Z9l0yNWIKiDBO42AUA6sf6WR+muLlVJay1IxpkYhz XGhg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=flmxNWm5; 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-7c3b7345ba6si671287485a.621.2025.03.05.07.44.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Mar 2025 07:44:01 -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=flmxNWm5; 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 1tpqrs-0001eV-TR; Wed, 05 Mar 2025 10:41:08 -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 1tpqrk-00013S-Vi for qemu-devel@nongnu.org; Wed, 05 Mar 2025 10:41:01 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tpqrj-0002e4-5d for qemu-devel@nongnu.org; Wed, 05 Mar 2025 10:41:00 -0500 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-39129017bbbso23467f8f.1 for ; Wed, 05 Mar 2025 07:40:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741189257; x=1741794057; 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=fyaw8diXz251XjYJL/kNHyvPJKVoVonVHEPK8PU5vpE=; b=flmxNWm5zDF+PZN4QDUAR8lYtofcn9/TrInFQ/m9k8lAGseQohnJnFur0eN66f01v6 DWnw3nVD+wNTORLiCscF7Rf6m93H73qHQVQT+cns0yq8IlzC8Ask1xQf7rZzLF3Y0ngX wBbeZn5QZjTMZ0hyP9T23xpW1XbSghuxLlmUdW/CmQAskPrSl0rVqtZXZEVigQf7CreV 47l+kT2EjncfopbVLBE8pSS0A1O3PcdSKfBzxkicZS7YVARe+uzPBKx1au2/6u97peNA nH7Ryx55r1mxcmbjDoWf3sKsrMLJPOjJ9sqbY57sL6L1O3JzotIvOSZadLVOtfEIpvnh q20Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741189257; x=1741794057; 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=fyaw8diXz251XjYJL/kNHyvPJKVoVonVHEPK8PU5vpE=; b=Rc2+JUYZkZvZqdy/irjLgl/t7JGEYs2lQAwsl+3PRktTpFO9Jm2CFKIoi8H66QoM6V c2S198PmtszNk7FUTtLvExXP3kIju3AeGE1ohOhWFyfnlX/4tR6RSMmxSsNCz9cd7WJx 6Zk9QU+tRV47ji5+yLleUquEqm2O0orTrec1DPxnNptfBEoinuNTXZ0pjF+2bmfRkPDE acdleAolF+lVqKGBweLDSW8JQoXNE6GfFdoLRLLEq1pSO8JG6Cioa3ijtNSEGTgKrTJI FpGPRuC4sMREEhSpMvtqM4NTGDPDmHDlgS+DunzSCFbRb470WtcPyiru0Zb2pow0ULV4 Z6HQ== X-Gm-Message-State: AOJu0Yy2Pj4yV+M7rLCK9yQwe05hSKIGYm6HT06meYr7ie0ZRvVUMW2y tG9lffSLG6ok9J2b9yOiFpkCZzQwimfzYLZGBHQWIQYGGBLW+f3pNlg04cYT2zdDA3xZZ6gl5hP uD6M= X-Gm-Gg: ASbGncsk/hCVXJiG+kKrJFo2l0VvuAwE67DZvZxy0VHdH8y/tRoBDSxYwXd9kao5rvt gGJZLYfmJunMbB31DlGToiEU1H132XgzHpjZGgut1LuZs7ImymX2PoRR1WWdxiKAwpkF5lfOOGG Yk7B9rn3OU7zHFydRhYVyaudbGkaNL3KsXvVAur/LALeJ3qhGfJw5aKtl9etI0R5hjk+SHJfHYr cXJ++A3sk1xu1/TWfBRdQQ5h4a1c4FJDV3Et/ZUhlJ8XNKrei06oKKBopilJAEC6Rb4urrtJO3w Hn/dDaSiIU0Q83ZFkzLwErqJFeaApzPn1Bf6R90nZjj5dQXKp1K8ibtDdwHYn041/8f5eB96tzi 6Fl//gpa2Nh16AGePygc= X-Received: by 2002:a05:6000:1788:b0:390:f9d0:5e3 with SMTP id ffacd0b85a97d-3911f72632cmr2691115f8f.1.1741189257450; Wed, 05 Mar 2025 07:40:57 -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-391212eb81esm2396309f8f.9.2025.03.05.07.40.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 05 Mar 2025 07:40:57 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Paolo Bonzini , Richard Henderson , Pierrick Bouvier , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= Subject: [RFC PATCH 18/18] configs/targets: Merge qemu-system-microblaze{el} binaries Date: Wed, 5 Mar 2025 16:39:28 +0100 Message-ID: <20250305153929.43687-19-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250305153929.43687-1-philmd@linaro.org> References: <20250305153929.43687-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=philmd@linaro.org; helo=mail-wr1-x433.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 qemu-system-microblaze and qemu-system-microblazeel binaries are functionally equivalent (except the default endianness). By using legacy_binary_is_big_endian() to get the binary endianness at runtime, we can merge both binaries (using a symlink). Signed-off-by: Philippe Mathieu-Daudé --- configs/targets/microblazeel-softmmu.mak | 8 -------- meson.build | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 configs/targets/microblazeel-softmmu.mak diff --git a/configs/targets/microblazeel-softmmu.mak b/configs/targets/microblazeel-softmmu.mak deleted file mode 100644 index 52cdeae1a28..00000000000 --- a/configs/targets/microblazeel-softmmu.mak +++ /dev/null @@ -1,8 +0,0 @@ -TARGET_ARCH=microblaze -TARGET_SUPPORTS_MTTCG=y -# needed by boot.c -TARGET_NEED_FDT=y -TARGET_XML_FILES=gdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-protect.xml -# System mode can address up to 64 bits via lea/sea instructions. -# TODO: These bypass the mmu, so we could emulate these differently. -TARGET_LONG_BITS=64 diff --git a/meson.build b/meson.build index c2b7ec57739..46f97b1b7a7 100644 --- a/meson.build +++ b/meson.build @@ -3251,8 +3251,8 @@ host_kconfig = \ ignored = [ 'TARGET_XML_FILES', 'TARGET_ABI_DIR', 'TARGET_ARCH' ] -aliased_targets = [] -aliased_target = {} +aliased_targets = ['microblazeel'] +aliased_target = {'microblaze': 'microblazeel'} default_targets = 'CONFIG_DEFAULT_TARGETS' in config_host actual_target_dirs = []