diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-05-27 05:32:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-05-27 05:32:14 +0000 |
commit | 4c540916eaf342e36afc6f3ea602275f7baff370 (patch) | |
tree | 9e636ad93971a22539de621f86b73a3c06eb508e /elf/dl-load.c | |
parent | 0a5503211cb00d4d5198702b5d712385ac564a93 (diff) | |
download | glibc-4c540916eaf342e36afc6f3ea602275f7baff370.zip glibc-4c540916eaf342e36afc6f3ea602275f7baff370.tar.gz glibc-4c540916eaf342e36afc6f3ea602275f7baff370.tar.bz2 |
Update.
* elf/dl-load.c (_dl_map_object): Don't ignore RPATHs of loader ==
NULL.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r-- | elf/dl-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c index f5b2bcd..17ce562 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1346,7 +1346,7 @@ _dl_map_object (struct link_map *loader, const char *name, int preloaded, /* When the object has the RUNPATH information we don't use any RPATHs. */ - if (loader != NULL && loader->l_info[DT_RUNPATH] == NULL) + if (loader == NULL || loader->l_info[DT_RUNPATH] == NULL) { /* First try the DT_RPATH of the dependent object that caused NAME to be loaded. Then that object's dependent, and on up. */ |