From 4c540916eaf342e36afc6f3ea602275f7baff370 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 27 May 2000 05:32:14 +0000 Subject: [PATCH] Update. * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs of loader == NULL. --- ChangeLog | 3 +++ elf/dl-load.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 906df12..17f6b6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-05-26 Ulrich Drepper + * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs of loader == + NULL. + * posix/tst-preadwrite.c: Allow parallel execution of tst-preadwrite and tst-preadwrite64. 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. */ -- 2.7.4