about summary refs log tree commit diff
path: root/elf/ldconfig.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-25 08:19:44 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-25 08:19:44 +0000
commitbd89c0b57325a2e9372673c9a6eba8a565e702d2 (patch)
treee0d89442688d7b5bdae69c80166c759a198e4854 /elf/ldconfig.c
parent6d0e6e844d591cfa9222b9a871ecba0560ad2ee1 (diff)
downloadglibc-bd89c0b57325a2e9372673c9a6eba8a565e702d2.tar.gz
glibc-bd89c0b57325a2e9372673c9a6eba8a565e702d2.tar.xz
glibc-bd89c0b57325a2e9372673c9a6eba8a565e702d2.zip
Update.
2003-06-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast
	result to long int so that extensions to long long int work.
	Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>.

2003-06-19  Jakub Jelinek  <jakub@redhat.com>

	* elf/ldconfig.c (main): Use add_system_dir instead of add_dir.
	* sysdeps/generic/dl-cache.h (add_system_dir): Define.
	* sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc
	dl-cache.h.
	* sysdeps/unix/sysv/linux/s390/dl-cache.h: New file.
	* sysdeps/unix/sysv/linux/mips/dl-cache.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file.
	* sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file.
Diffstat (limited to 'elf/ldconfig.c')
-rw-r--r--elf/ldconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index 6484e311aa..bb9a3d4c83 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -1103,9 +1103,9 @@ main (int argc, char **argv)
   if (!opt_only_cline)
     {
       /* Always add the standard search paths.  */
-      add_dir (SLIBDIR);
+      add_system_dir (SLIBDIR);
       if (strcmp (SLIBDIR, LIBDIR))
-	add_dir (LIBDIR);
+	add_system_dir (LIBDIR);
 
       parse_conf (config_file);
     }