diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-08-05 15:31:36 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-08-05 15:31:36 +0000 |
commit | 0e6bafdcb921e5dc1af59c266917849b36ef5096 (patch) | |
tree | c5f19fac47404ef3f92d74773fb99e1446fe4f72 /libexec/ld.so | |
parent | fa78a33761d7a745fddded54623e31804c33cee3 (diff) |
Do not have dl_find_symbol complain about symbols not found, code immediately
following the call will catch and report any errors.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/powerpc/rtld_machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/powerpc/rtld_machine.c b/libexec/ld.so/powerpc/rtld_machine.c index b044e0ce591..172a9ccea81 100644 --- a/libexec/ld.so/powerpc/rtld_machine.c +++ b/libexec/ld.so/powerpc/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.4 2001/03/30 01:35:21 drahn Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.5 2001/08/05 15:31:35 drahn Exp $ */ /* * Copyright (c) 1999 Dale Rahn @@ -154,7 +154,7 @@ _dl_printf("md_reloc: plttable %x\n", plttable); !(ELF32_ST_BIND(sym->st_info) == STB_LOCAL && ELF32_ST_TYPE (sym->st_info) == STT_NOTYPE)) { - ooff = _dl_find_symbol(symn, _dl_objects, &this, 0, 1); + ooff = _dl_find_symbol(symn, _dl_objects, &this, 0, 0); if(!this && ELF32_ST_BIND(sym->st_info) == STB_GLOBAL) { _dl_printf("%s:" " %s :can't resolve reference '%s'\n", |