about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/ldconfig.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-14 09:00:42 +0000
committerRoland McGrath <roland@gnu.org>2002-09-14 09:00:42 +0000
commit48c5307058990a7e525b3dfc444e9d996b2cefc6 (patch)
tree9459f98ffc248cedd1a787baaf38aaa53b554f53 /sysdeps/unix/sysv/linux/powerpc/ldconfig.h
parent65233b5850accaaf3339e050c69f59b994582e86 (diff)
downloadglibc-48c5307058990a7e525b3dfc444e9d996b2cefc6.tar.gz
glibc-48c5307058990a7e525b3dfc444e9d996b2cefc6.tar.xz
glibc-48c5307058990a7e525b3dfc444e9d996b2cefc6.zip
* sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro.
	* elf/cache.c (print_entry): Add case for FLAG_POWERPC_LIB64.
	Remove per-machine conditionals for FLAG_* cases.
	* sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/dl-cache.h: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/ldconfig.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/ldconfig.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/ldconfig.h b/sysdeps/unix/sysv/linux/powerpc/ldconfig.h
new file mode 100644
index 0000000000..ad67f3fcf0
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/ldconfig.h
@@ -0,0 +1,27 @@
+/* ldconfig default paths and libraries.  Linux/PowerPC version.
+   Copyright (C) 2002 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, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <sysdeps/generic/ldconfig.h>
+
+#define SYSDEP_KNOWN_INTERPRETER_NAMES \
+  { "/lib/ld.so.1", FLAG_ELF_LIBC6 },	\
+  { "/lib64/ld64.so.1", FLAG_ELF_LIBC6 },
+#define SYSDEP_KNOWN_LIBRARY_NAMES \
+  { "libc.so.6", FLAG_ELF_LIBC6 },	\
+  { "libm.so.6", FLAG_ELF_LIBC6 },