/* Declarations for C-SKY targets running Linux.
- Copyright (C) 2018-2022 Free Software Foundation, Inc.
+ Copyright (C) 2018-2024 Free Software Foundation, Inc.
Contributed by C-SKY Microsystems and Mentor Graphics.
This file is part of GCC.
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-cskyv2%{mfloat-abi=hard:-hf}%{mbig-endian:-be}.so.1"
+#ifdef CSKY_ENABLE_MULTILIB
+#undef SYSROOT_SUFFIX_SPEC
+#define SYSROOT_SUFFIX_SPEC \
+ "%{mbig-endian:/big}" \
+ "%{mcpu=ck807*:/ck807}" \
+ "%{mcpu=ck860*:/ck860}" \
+ "%{mcpu=ck800*:/ck800}" \
+ "%{mfloat-abi=softfp:/soft-fp}" \
+ "%{mfloat-abi=hard:/hard-fp}"
+#endif
+
#define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \
%{b} \
%{static:-Bstatic} \