From d9a6f6cc6053ce6af2017e34d5f181d79265bb22 Mon Sep 17 00:00:00 2001 From: jdp Date: Tue, 7 Nov 2000 22:41:53 +0000 Subject: Remove the superfluous call to _rtld_error() in symlook_default(). The function's callers generate the error message when appropriate. This eliminates the message ``Undefined symbol "__register_frame_info"'' which was bogusly returned by dlerror() in some cases. --- libexec/rtld-elf/rtld.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libexec') diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 9cbfe42..0b595df 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -1831,8 +1831,6 @@ symlook_default(const char *name, unsigned long hash, if (def != NULL) *defobj_out = defobj; - else - _rtld_error("%s: Undefined symbol \"%s\"", refobj->path, name); return def; } -- cgit v1.1