diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-04-04 20:09:09 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-04-11 00:13:52 +0530 |
commit | 73d65cc3784b1413b017fed31550ec11e717e45b (patch) | |
tree | 25c26d43b59d5f65bd15381a05a7566cb5ee90b7 /ChangeLog | |
parent | d715c9144bdf32211cd512530d2240dc28648435 (diff) | |
download | glibc-73d65cc3784b1413b017fed31550ec11e717e45b.zip glibc-73d65cc3784b1413b017fed31550ec11e717e45b.tar.gz glibc-73d65cc3784b1413b017fed31550ec11e717e45b.tar.bz2 |
New ld.so argument --inhibit-ldcache to disable ld.so.cache lookup
It may sometimes be desirable to make the dynamic linker only pick up
libraries from the library path and rpath and not look at the
ld.so.cache that ldconfig generates. An example of such a use case is
the glibc testsuite where the dynamic linker must not be influenced by
any external paths or caches.
This change adds a new option --inhibit-ldcache that when used, tells
the dynamic linker to not use ld.so.cache even if it is available.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com> + + * elf/dl-support.c (_dl_inhibit_cache): New variable. + * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache. + (dl_main): Handle --inhibit-cache. + * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member + _dl_inhibit_cache. + * elf/dl-load.c (_dl_map_object): Use it. + * elf/Makefile: Define SYSCONFDIR when building rtld.c. + 2012-04-09 Joseph Myers <joseph@codesourcery.com> [BZ #13872] |