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.
This commit is contained in:
John Polstra 2000-11-07 22:41:53 +00:00
parent 2ac2ed8a51
commit c1ff193db4

View File

@ -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;
}