]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/csky/csky-linux-elf.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / csky / csky-linux-elf.h
index bea3757672e417bb841737e582e9307eedb512d6..7b12492badce0b65443c5c2b215ad177803c7321 100644 (file)
@@ -1,5 +1,5 @@
 /* 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}                                          \