Improve diagnostics of loading *.eln files
* src/pdumper.c (dump_do_dump_relocation): Improve diagnostics when loading preloaded *.eln files fails. (Bug#46790)
This commit is contained in:
parent
062e599480
commit
592ffd35b0
1 changed files with 5 additions and 1 deletions
|
@ -5335,7 +5335,11 @@ dump_do_dump_relocation (const uintptr_t dump_base,
|
|||
comp_u->file = eln_fname;
|
||||
comp_u->handle = dynlib_open (SSDATA (eln_fname));
|
||||
if (!comp_u->handle)
|
||||
error ("%s", dynlib_error ());
|
||||
{
|
||||
fprintf (stderr, "Error using execdir %s:\n",
|
||||
emacs_execdir);
|
||||
error ("%s", dynlib_error ());
|
||||
}
|
||||
load_comp_unit (comp_u, true, false);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue