From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out30-112.freemail.mail.aliyun.com (out30-112.freemail.mail.aliyun.com [115.124.30.112]) by sourceware.org (Postfix) with ESMTPS id 4BE7238493DD for ; Fri, 13 Jan 2023 12:43:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4BE7238493DD Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=cooper.qu@linux.alibaba.com;NM=1;PH=DS;RN=1;SR=0;TI=SMTPD_---0VZV0iva_1673613782; Received: from localhost(mailfrom:cooper.qu@linux.alibaba.com fp:SMTPD_---0VZV0iva_1673613782) by smtp.aliyun-inc.com; Fri, 13 Jan 2023 20:43:03 +0800 From: Xianmiao Qu To: gcc-patches@gcc.gnu.org Subject: [committed] C-SKY: Fix float abi option in MULTILIB_DEFAULTS. Date: Fri, 13 Jan 2023 20:43:02 +0800 Message-Id: <20230113124302.75492-1-cooper.qu@linux.alibaba.com> X-Mailer: git-send-email 2.32.1 (Apple Git-133) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-20.9 required=5.0 tests=BAYES_00,ENV_AND_HDR_SPF_MATCH,GIT_PATCH_0,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The msoft-float is alias of mfloat-abi=soft, use mfloat-abi=soft in MULTILIB_DEFAULTS to correspond to the option in MULTILIB_OPTIONS, otherwise it will find the wrong path. gcc/ * config/csky/csky.h (MULTILIB_DEFAULTS): Fix float abi option. --- gcc/config/csky/csky.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/csky/csky.h b/gcc/config/csky/csky.h index d21a57a8bb2..a9dc60cecc5 100644 --- a/gcc/config/csky/csky.h +++ b/gcc/config/csky/csky.h @@ -952,7 +952,7 @@ while (0) specially when using MULTILIB_OPTIONS. */ #undef MULTILIB_DEFAULTS #define MULTILIB_DEFAULTS \ - {"mlittle-endian", "mcpu=ck810f", "msoft-float"} + {"mlittle-endian", "mcpu=ck810f", "mfloat-abi=soft"} /* Support for a compile-time default CPU, et cetera. The rules are: --with-arch is ignored if -march or -mcpu are specified. -- 2.32.1 (Apple Git-133)