public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] C-SKY:Fix dynamic linker's name when mfloat-abi=softfp.
@ 2020-10-19 4:58 Han Mao
0 siblings, 0 replies; only message in thread
From: Han Mao @ 2020-10-19 4:58 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7449320983b664aba506d7674ea0ce142dd3d4ed
commit 7449320983b664aba506d7674ea0ce142dd3d4ed
Author: Cooper Qu <cooper.qu@linux.alibaba.com>
Date: Fri Oct 16 10:56:20 2020 +0800
C-SKY:Fix dynamic linker's name when mfloat-abi=softfp.
The dynamic linker should be chosen according to float abi, the
predefined macro __CSKY_HARD_FLOAT__ stand for architecure not
abi.
Reviewed-by: Mao Han <han_mao@linux.alibaba.com>
Diff:
---
sysdeps/csky/preconfigure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/csky/preconfigure b/sysdeps/csky/preconfigure
index 16f3b60cf5..11b887fd42 100644
--- a/sysdeps/csky/preconfigure
+++ b/sysdeps/csky/preconfigure
@@ -3,7 +3,7 @@ csky*)
abi=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null |
sed -n 's/^#define __CSKYABI__ \(.*\)/\1/p'`
float_abi=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null |
- sed -n 's/^#define __CSKY_HARD_FLOAT__ \(.*\)/\1/p'`
+ sed -n 's/^#define __CSKY_HARD_FLOAT_ABI__ \(.*\)/\1/p'`
case "$abi" in
1)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-19 4:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 4:58 [glibc] C-SKY:Fix dynamic linker's name when mfloat-abi=softfp Han Mao
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).