From: Jojo R Date: Wed, 16 Sep 2020 03:28:30 +0000 (+0800) Subject: C-SKY: Fix wrong ld name with option -mfloat-abi=hard. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c45b9ee5ca53f4e19be33c57e2347538d47f8bb;p=gcc.git 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. --- 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} \