From 2c45b9ee5ca53f4e19be33c57e2347538d47f8bb Mon Sep 17 00:00:00 2001 From: Jojo R Date: Wed, 16 Sep 2020 11:28:30 +0800 Subject: [PATCH] C-SKY: Fix wrong ld name with option -mfloat-abi=hard. gcc/ChangeLog: * config/csky/csky-linux-elf.h (GLIBC_DYNAMIC_LINKER): Use mfloat-abi. --- gcc/config/csky/csky-linux-elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/csky/csky-linux-elf.h b/gcc/config/csky/csky-linux-elf.h index 9a57dd045e8..cf587aee354 100644 --- a/gcc/config/csky/csky-linux-elf.h +++ b/gcc/config/csky/csky-linux-elf.h @@ -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} \ -- 2.30.2