mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-31 14:01:18 +08:00
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>
This commit is contained in:
parent
0f09154c64
commit
7449320983
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user