aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorXianmiao Qu <cooper.qu@linux.alibaba.com>2023-01-10 22:48:21 +0800
committerXianmiao Qu <cooper.qu@linux.alibaba.com>2023-01-10 19:57:49 +0800
commit4c7336a86449de41680e0640f7e353e4c1440bf9 (patch)
treef801b319072e6c25290d58542c08e4f5bb43d61a /gcc/config
parentac34c261099cd90c440d825bf866a9fad78590b7 (diff)
downloadgcc-4c7336a86449de41680e0640f7e353e4c1440bf9.zip
gcc-4c7336a86449de41680e0640f7e353e4c1440bf9.tar.gz
gcc-4c7336a86449de41680e0640f7e353e4c1440bf9.tar.bz2
C-SKY: Fix float abi option in MULTILIB_DEFAULTS.
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.
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/csky/csky.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/csky/csky.h b/gcc/config/csky/csky.h
index d21a57a..a9dc60c 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.