unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/1] C-SKY:Fix dynamic linker's name when mfloat-abi=softfp.
@ 2020-10-16  2:56 Cooper Qu via Libc-alpha
  2020-10-16 15:28 ` Adhemerval Zanella via Libc-alpha
  0 siblings, 1 reply; 5+ messages in thread
From: Cooper Qu via Libc-alpha @ 2020-10-16  2:56 UTC (permalink / raw)
  To: libc-alpha, han_mao; +Cc: Cooper Qu

The dynamic linker should be chosen according to float abi, the
predefined macro __CSKY_HARD_FLOAT__ stand for architecure not
abi.

	* sysdeps/csky/preconfigure: Use __CSKY_HARD_FLOAT_ABI__ instead
	of __CSKY_HARD_FLOAT__.
---
 sysdeps/csky/preconfigure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/csky/preconfigure b/sysdeps/csky/preconfigure
index 16f3b60..11b887f 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)
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-20  2:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16  2:56 [PATCH 1/1] C-SKY:Fix dynamic linker's name when mfloat-abi=softfp Cooper Qu via Libc-alpha
2020-10-16 15:28 ` Adhemerval Zanella via Libc-alpha
     [not found]   ` <7bee7575-fc74-4e87-9621-77f2c51354e1.han_mao@c-sky.com>
2020-10-19  6:24     ` 回复:Re: " Cooper Qu via Libc-alpha
2020-10-19 12:22       ` Adhemerval Zanella via Libc-alpha
2020-10-20  2:22         ` 回复:Re: " 毛晗

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).