mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2010-06-28 Rafael Espindola <espindola@google.com>
* plugin.cc (Plugin::load): Use dlerror.
This commit is contained in:
@ -106,8 +106,8 @@ Plugin::load()
|
||||
this->handle_ = dlopen(this->filename_.c_str(), RTLD_NOW);
|
||||
if (this->handle_ == NULL)
|
||||
{
|
||||
gold_error(_("%s: could not load plugin library"),
|
||||
this->filename_.c_str());
|
||||
gold_error(_("%s: could not load plugin library: %s"),
|
||||
this->filename_.c_str(), dlerror());
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user