summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-13 07:34:36 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-13 07:34:36 +0200
commitfe109717435b9e62e24579559b3bf521d047d453 (patch)
tree895466e42cbcde5c660eb0a0f69abe7865aeed20 /ldso
parent32d11b1454734c7931b8b0ec98cf5aba1970dde5 (diff)
fix compile error when LDSO_RUNPATH_OF_EXECUTABLE is set
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/dl-elf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index 49b516390..01b29da29 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -274,7 +274,7 @@ struct elf_resolve *_dl_load_shared_library(unsigned rflags, struct dyn_elf **rp
if (pnt) {
pnt += (unsigned long) _dl_loaded_modules->dynamic_info[DT_STRTAB];
_dl_if_debug_dprint("\tsearching exe's RPATH='%s'\n", pnt);
- if ((tpnt1 = search_for_named_library(libname, rflags, pnt, rpnt)) != NULL)
+ if ((tpnt1 = search_for_named_library(libname, rflags, pnt, rpnt, NULL)) != NULL)
return tpnt1;
}
#endif
@@ -345,14 +345,14 @@ struct elf_resolve *_dl_load_shared_library(unsigned rflags, struct dyn_elf **rp
if (pnt) {
pnt += (unsigned long) _dl_loaded_modules->dynamic_info[DT_STRTAB];
_dl_if_debug_dprint("\tsearching exe's RUNPATH='%s'\n", pnt);
- if ((tpnt1 = search_for_named_library(libname, rflags, pnt, rpnt)) != NULL)
+ if ((tpnt1 = search_for_named_library(libname, rflags, pnt, rpnt, NULL)) != NULL)
return tpnt1;
}
pnt = (char *) _dl_loaded_modules->dynamic_info[DT_RPATH];
if (pnt) {
pnt += (unsigned long) _dl_loaded_modules->dynamic_info[DT_STRTAB];
_dl_if_debug_dprint("\tsearching exe's RPATH='%s'\n", pnt);
- if ((tpnt1 = search_for_named_library(libname, rflags, pnt, rpnt)) != NULL)
+ if ((tpnt1 = search_for_named_library(libname, rflags, pnt, rpnt, NULL)) != NULL)
return tpnt1;
}
#endif