From: Xianmiao Qu <cooper.qu@linux.alibaba.com>
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 [thread overview]
Message-ID: <20230113124302.75492-1-cooper.qu@linux.alibaba.com> (raw)
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)
reply other threads:[~2023-01-13 12:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230113124302.75492-1-cooper.qu@linux.alibaba.com \
--to=cooper.qu@linux.alibaba.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).