about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/arc/ldconfig.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2018-10-23 15:39:50 -0700
committerVineet Gupta <vgupta@synopsys.com>2020-07-10 16:08:45 -0700
commit0be8ae3679570ff9a193615a035fc8074a8c704f (patch)
treeb5924dd11569bd5ca98dbdfc0a448bed440ee478 /sysdeps/unix/sysv/linux/arc/ldconfig.h
parent33ff7b398830522ef5ef39fa3bbd9249944f7404 (diff)
downloadglibc-0be8ae3679570ff9a193615a035fc8074a8c704f.tar.gz
glibc-0be8ae3679570ff9a193615a035fc8074a8c704f.tar.xz
glibc-0be8ae3679570ff9a193615a035fc8074a8c704f.zip
ARC: Build Infrastructure
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/arc/ldconfig.h')
-rw-r--r--sysdeps/unix/sysv/linux/arc/ldconfig.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/arc/ldconfig.h b/sysdeps/unix/sysv/linux/arc/ldconfig.h
new file mode 100644
index 0000000000..0d6368e4df
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/arc/ldconfig.h
@@ -0,0 +1,27 @@
+/* ldconfig default paths and libraries.  Linux/RISC-V version.
+   Copyright (C) 2020 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library.  If not, see
+   <https://www.gnu.org/licenses/>.  */
+
+#include <sysdeps/generic/ldconfig.h>
+
+#define SYSDEP_KNOWN_INTERPRETER_NAMES 		\
+  { "/lib/ld-linux-arc.so.2", FLAG_ELF_LIBC6 },	\
+  { "/lib/ld-linux-arceb.so.2", FLAG_ELF_LIBC6 },
+
+#define SYSDEP_KNOWN_LIBRARY_NAMES 	\
+  { "libc.so.6", FLAG_ELF_LIBC6 },	\
+  { "libm.so.6", FLAG_ELF_LIBC6 },