summaryrefslogtreecommitdiff
path: root/libexec/ld.so/i386/rtld_machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/i386/rtld_machine.c')
-rw-r--r--libexec/ld.so/i386/rtld_machine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/i386/rtld_machine.c b/libexec/ld.so/i386/rtld_machine.c
index b207ae8d538..a61a3edf531 100644
--- a/libexec/ld.so/i386/rtld_machine.c
+++ b/libexec/ld.so/i386/rtld_machine.c
@@ -175,7 +175,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relsz)
&this, SYM_SEARCH_ALL|SYM_WARNNOTFOUND|
((type == R_TYPE(JUMP_SLOT))?
SYM_PLT:SYM_NOTPLT),
- sym->st_size);
+ sym->st_size, object->load_name);
if (this == NULL) {
resolve_failed:
_dl_printf("%s: %s: can't resolve "
@@ -204,7 +204,7 @@ resolve_failed:
soff = _dl_find_symbol(symn, object->next, &srcsym,
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|
((type == R_TYPE(JUMP_SLOT)) ? SYM_PLT:SYM_NOTPLT),
- size);
+ size, object->load_name);
if (srcsym == NULL)
goto resolve_failed;
@@ -298,7 +298,7 @@ _dl_bind(elf_object_t *object, int index)
addr = (Elf_Word *)(object->load_offs + rel->r_offset);
this = NULL;
ooff = _dl_find_symbol(symn, _dl_objects, &this,
- SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, 0);
+ SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_PLT, 0, object->load_name);
if (this == NULL) {
_dl_printf("lazy binding failed!\n");
*((int *)0) = 0; /* XXX */