C-SKY: Fix wrong ld name with option -mfloat-abi=hard.
authorJojo R <jiejie_rong@c-sky.com>
Wed, 16 Sep 2020 03:28:30 +0000 (11:28 +0800)
committerXianmiao Qu <xianmiao_qu@c-sky.com>
Wed, 16 Sep 2020 06:57:19 +0000 (14:57 +0800)
gcc/ChangeLog:

* config/csky/csky-linux-elf.h (GLIBC_DYNAMIC_LINKER): Use mfloat-abi.

gcc/config/csky/csky-linux-elf.h

index 9a57dd045e81a2279a07f306fe2a72a831c33ec8..cf587aee354ec4930fe0f73d6d687d9bdaf0c358 100644 (file)
@@ -63,7 +63,7 @@
   %{mvdsp:-mvdsp}              \
   "
 
-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-cskyv2%{mhard-float:-hf}%{mbig-endian:-be}.so.1"
+#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-cskyv2%{mfloat-abi=hard:-hf}%{mbig-endian:-be}.so.1"
 
 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v}            \
    %{b}                                                                \