Message ID | 20250325235118.245231-3-keithp@keithp.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=keithp.com header.i=@keithp.com header.a=rsa-sha256 header.s=mail header.b=FXJ0dVzV; dkim=fail reason="signature verification failed" (2048-bit key) header.d=keithp.com header.i=@keithp.com header.a=rsa-sha256 header.s=mail header.b=gUuRWaPH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4ZMn1V5QQPz1yG0 for <incoming@patchwork.ozlabs.org>; Wed, 26 Mar 2025 10:58:22 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8015A385700F for <incoming@patchwork.ozlabs.org>; Tue, 25 Mar 2025 23:58:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8015A385700F Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=keithp.com header.i=@keithp.com header.a=rsa-sha256 header.s=mail header.b=FXJ0dVzV; dkim=fail reason="signature verification failed" (2048-bit key) header.d=keithp.com header.i=@keithp.com header.a=rsa-sha256 header.s=mail header.b=gUuRWaPH X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from elaine.keithp.com (home.keithp.com [63.227.221.253]) by sourceware.org (Postfix) with ESMTPS id 6CF0A385772A for <gcc-patches@gcc.gnu.org>; Tue, 25 Mar 2025 23:51:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6CF0A385772A Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=keithp.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=keithp.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6CF0A385772A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=63.227.221.253 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1742946712; cv=none; b=R/UAsKOryqOYw+toNscSRmGaZPz3p2KlIMkXgnsq5pHcWPJmWR9GdDI2PKhiy5VhfXHqCtibDga+Vy/c35UZyUXZBHxJyHXbFuSo38708GgiXE1rN3KyhaB16hWAsLNJotWKjLLzdgGhNiqeMBzAbrqGFDGck1S3YVAX4vK+O2A= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1742946712; c=relaxed/simple; bh=YYDGv5RTljDZUPqTQp5NEoRl+pnSX1uuSatQVtK+QGk=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=maGjFFjqgekoYWjvDOlDxgs/EmC4xYuoeDZY5QTZASazlQkq/HTg1ZrBcSL4Y2R9UbW1w0gyAQRQ0auHR0yWPVHaO9H53AnSLae+CBRIWsvO/DU8fi8XeJSf/xQ4+C9Sc8VY+3e8V/ZdLfeg26tTJgAf+6doSEnHZJHiWF4B5mw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6CF0A385772A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1742946711; bh=YYDGv5RTljDZUPqTQp5NEoRl+pnSX1uuSatQVtK+QGk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FXJ0dVzVT9tqE7FrUsZ0Ot9LWtKypEaKlORte1D6C0SwYiJM965mr1sBR3YFjqzSC nCAX1Vf60dyDhy/6+JR51N2Rt31hQrV3WeS8Xp1/D2X77trML/5q89p3oO246xN8Ml kDIZ8o0GOSXMAG6/9M88VMSfS3yYc1DMmcngetdFtcTtG6p87K5yyYUg1EmGSZj5ZR 9pRB0KfzhbvzkV3Orsm3ZkqM4eTKMiM6jyqzQwtftKDZHW2iNFyZyhTTy7XbKlm4Hm f5Xv6hhXOrsaYmVtP70VCTGnPsEKzUzbLTPCTGM2Y34lHfc07kVGOr0S3CzV35i7fH QYLWzg128Lrrw== Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 9C73F3F202DD for <gcc-patches@gcc.gnu.org>; Tue, 25 Mar 2025 16:51:51 -0700 (PDT) X-Virus-Scanned: Debian amavis at keithp.com Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavis, port 10024) with LMTP id Mdm4voPfLxTQ; Tue, 25 Mar 2025 16:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1742946708; bh=YYDGv5RTljDZUPqTQp5NEoRl+pnSX1uuSatQVtK+QGk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gUuRWaPHNXXOMMfve9kjKFQ+zxpAjDms0Uj0TKZKOd+/k9D4m2kZZBCG7n2MOZDAZ VpBHXvTKVV6HB+iG5Z2VhxmoTjSpJ8cxinK6kmZElec0CUVLfn9wTUzvwKpy7PNiiQ Qw96qwJ9opwUjMPyq3kiZ7EzLqbJ3OQjPMkCjrVqTMuhwt+3EAXwBI2IPfL/QjR4oG C71/zR1jaj9Y8tckxqkYNbjRyqKr9MQbjoPYEEhxIhhJbKHsoRuNtNEFSzWjg/5Djv AqoI7cmFKTKcPAnmeXaPGMicto6osyCkuykyrF1O6hLbl3aToacuJ4YlV5e+ipkfDD k9+Z/3JsfQ7MQ== Received: from keithp.com (koto.keithp.com [192.168.11.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 6EC163F22674; Tue, 25 Mar 2025 16:51:48 -0700 (PDT) Received: by keithp.com (Postfix, from userid 1000) id 16A151E600A1; Tue, 25 Mar 2025 16:51:48 -0700 (PDT) From: Keith Packard <keithp@keithp.com> To: gcc-patches@gcc.gnu.org Cc: Keith Packard <keithp@keithp.com> Subject: [PATCH 2/3] arm: Add missing multilib default values Date: Tue, 25 Mar 2025 16:51:17 -0700 Message-ID: <20250325235118.245231-3-keithp@keithp.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250325235118.245231-1-keithp@keithp.com> References: <20250325235118.245231-1-keithp@keithp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
Automate use of -Os/-Oz as multilib selector
|
expand
|
diff --git a/gcc/config/arm/arm-mlib.h b/gcc/config/arm/arm-mlib.h index 211f222f00d..a8b673bda31 100644 --- a/gcc/config/arm/arm-mlib.h +++ b/gcc/config/arm/arm-mlib.h @@ -19,4 +19,4 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ -#define MULTILIB_DEFAULTS { "mbranch-protection=none" } +#define MULTILIB_DEFAULTS { "mbranch-protection=none", "marm", "mfloat-abi=soft", }
The arm multilib configuration includes two more parameters which affect multilib selection, marm/mthumb and mfloat-abi. Without those, the default multilib selection is mis-specified and the only reason it works is because '.' is the fall-back path. Add "marm" and "mfloat-abi=soft" to MULTILIB_DEFAULTS to actually match when the compiler is run without any target parameters. This hasn't caused any problems in practice because there are no non-default multilib options which can be applied to the default -march target as it has neither an FPU nor any branch protection support. Specifying another cpu or architecture always sets -marm and -mfloat-abi and so those multilib configuration don't rely on the defaults. Signed-off-by: Keith Packard <keithp@keithp.com> --- gcc/config/arm/arm-mlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)