summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc64
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-11-14 15:15:55 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-11-14 15:15:55 +0000
commit44075a99e43efca7c637069c0588b5d09c6dc4d5 (patch)
treeee6bfd462cec2903b80d0d470e2ded977125c9c8 /libexec/ld.so/sparc64
parentfe8301cb0911366f651960c3fa105c7cb6288cb3 (diff)
Make error messages on symbol lookup failures more useful.
Diffstat (limited to 'libexec/ld.so/sparc64')
-rw-r--r--libexec/ld.so/sparc64/rtld_machine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ld.so/sparc64/rtld_machine.c b/libexec/ld.so/sparc64/rtld_machine.c
index 9a725afa82f..d44c20888a2 100644
--- a/libexec/ld.so/sparc64/rtld_machine.c
+++ b/libexec/ld.so/sparc64/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.21 2002/09/01 23:55:01 drahn Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.22 2002/11/14 15:15:54 drahn Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -280,7 +280,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz)
&this, SYM_SEARCH_ALL|SYM_WARNNOTFOUND|
((type == R_TYPE(JMP_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 "
@@ -308,7 +308,7 @@ resolve_failed:
soff = _dl_find_symbol(symn, object->next, &srcsym,
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|SYM_NOTPLT,
- size);
+ size, object->load_name);
if (srcsym == NULL)
goto resolve_failed;
@@ -635,7 +635,7 @@ _dl_bind(elf_object_t *object, int index)
addr = (Elf_Word *)(object->load_offs + rela->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 */