aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCooper Qu <cooper.qu@linux.alibaba.com>2020-10-16 10:56:20 +0800
committerMao Han <han_mao@linux.alibaba.com>2020-10-19 12:48:37 +0800
commit7449320983b664aba506d7674ea0ce142dd3d4ed (patch)
tree9470130ee8ee187fd0a6436b2e12274e970bbbbf
parent0f09154c64005e78b61484ae87b5ea2028051ea0 (diff)
downloadglibc-7449320983b664aba506d7674ea0ce142dd3d4ed.tar
glibc-7449320983b664aba506d7674ea0ce142dd3d4ed.tar.gz
glibc-7449320983b664aba506d7674ea0ce142dd3d4ed.tar.bz2
glibc-7449320983b664aba506d7674ea0ce142dd3d4ed.zip
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>
-rw-r--r--sysdeps/csky/preconfigure2
1 files changed, 1 insertions, 1 deletions
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)