summaryrefslogtreecommitdiff
path: root/ldso/ldso/ldso.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-22 23:54:40 -0500
committerMike Frysinger <vapier@gentoo.org>2009-11-22 23:54:40 -0500
commitb65c7b2c79debcb9017e31913e01eeaa280106fb (patch)
tree01a55aad5c6a4686f8d5be0350a5dd33edf0c05d /ldso/ldso/ldso.c
parentdbc5879d9ab39df3a54ed9b34a6c9e55a8bb8f65 (diff)
ldso: let people disable the implicit path search
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r--ldso/ldso/ldso.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 021f109cd..45d499574 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -490,6 +490,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr,
tpnt->libname = (char *) DL_RELOC_ADDR(app_tpnt->loadaddr, ppnt->p_vaddr);
+#ifdef __LDSO_SEARCH_INTERP_PATH__
/* Store the path where the shared lib loader was found
* for later use
*/
@@ -499,6 +500,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr,
*ptmp = '\0';
_dl_debug_early("Lib Loader: (%x) %s\n", (unsigned) DL_LOADADDR_BASE(tpnt->loadaddr), tpnt->libname);
+#endif
}
/* Discover any TLS sections if the target supports them. */