about summary refs log tree commit diff
path: root/sysdeps/generic/dl-cache.h
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 /sysdeps/generic/dl-cache.h
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 'sysdeps/generic/dl-cache.h')
-rw-r--r--sysdeps/generic/dl-cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
index 946e5a9713..c2b72874cf 100644
--- a/sysdeps/generic/dl-cache.h
+++ b/sysdeps/generic/dl-cache.h
@@ -32,6 +32,10 @@
 # define LD_SO_CACHE SYSCONFDIR "/ld.so.cache"
 #endif
 
+#ifndef add_system_dir
+# define add_system_dir(dir) add_dir (dir)
+#endif
+
 #define CACHEMAGIC "ld.so-1.7.0"
 
 /* libc5 and glibc 2.0/2.1 use the same format.  For glibc 2.2 another