public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] C-SKY: Fix float abi option in MULTILIB_DEFAULTS.
@ 2023-01-13 12:43 Xianmiao Qu
  0 siblings, 0 replies; only message in thread
From: Xianmiao Qu @ 2023-01-13 12:43 UTC (permalink / raw)
  To: gcc-patches

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-13 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 12:43 [committed] C-SKY: Fix float abi option in MULTILIB_DEFAULTS Xianmiao Qu

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).