glibc/sysdeps/unix/sysv/linux/csky
quxm ec6d2b83f2 C-SKY: Strip hard float abi from hard float feature.
The hard float abi and hard float are different,
  Hard float abi: Use float register to pass float type arguments.
  Hard float: Enable the hard float ISA feature.
So the with_fp_cond cannot represent these two features. When
-mfloat-abi=softfp, the float abi is soft and hard float is enabled.
So add 'with_hard_float_abi' in preconfigure and define 'CSKY_HARD_FLOAT_ABI'
if float abi is hard, and use 'CSKY_HARD_FLOAT_ABI' to determine
dynamic linker because it is what determines compatibility.
And with_fp_cond is still needed to tell glibc whether to enable
hard floating feature.
In addition, use AC_TRY_COMMAND to test gcc to ensure compatibility
between different versions of gcc. The original way has a problem
that __CSKY_HARD_FLOAT_FPU_SF__ means the target only has single
hard float-points ISA, so it's not defined in CPUs like ck810f.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2023-02-07 16:34:24 +08:00
..
abiv2 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bits Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sys Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Implies
Makefile
Versions
arch-syscall.h Update syscall lists for Linux 5.17 2022-03-23 17:11:56 +00:00
c++-types.data
configure Remove ldd libc4 support 2022-08-04 10:03:45 -03:00
configure.ac Remove ldd libc4 support 2022-08-04 10:03:45 -03:00
kernel-features.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
kernel_stat.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ld.abilist Fix glibc 2.34 ABI omission (missing GLIBC_2.34 in dynamic loader) 2022-01-27 18:52:05 +01:00
libBrokenLocale.abilist
libanl.abilist resolv: Move libanl into libc (if libpthread is in libc) 2021-07-02 11:45:00 +02:00
libc.abilist Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746) 2022-11-08 13:37:06 -03:00
libc_malloc_debug.abilist glibc.malloc.check: Wean away from malloc hooks 2021-07-22 18:38:08 +05:30
libcrypt.abilist
libdl.abilist
libm.abilist Add fmaximum, fminimum functions 2021-09-28 23:31:35 +00:00
libpthread.abilist
libresolv.abilist resolv: Move res_query functions into libc 2021-07-19 07:56:57 +02:00
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data elf: Rework exception handling in the dynamic loader [BZ #25486] 2022-11-03 09:39:31 +01:00
makecontext.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pointer_guard.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
shlib-versions C-SKY: Strip hard float abi from hard float feature. 2023-02-07 16:34:24 +08:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
syscalls.list
sysdep.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
time64-compat.h