aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2021-04-24 11:20:50 +0300
committerEli Zaretskii2021-04-24 11:20:50 +0300
commit592ffd35b0de48f098fcf070d0a29bb3406e4bf9 (patch)
treec31a06b0b115ef2e2cee10a01686311f2f1fa938 /src
parent062e5994802bbe634bae7f1aef99f65daf1ec44e (diff)
downloademacs-592ffd35b0de48f098fcf070d0a29bb3406e4bf9.tar.gz
emacs-592ffd35b0de48f098fcf070d0a29bb3406e4bf9.zip
Improve diagnostics of loading *.eln files
* src/pdumper.c (dump_do_dump_relocation): Improve diagnostics when loading preloaded *.eln files fails. (Bug#46790)
Diffstat (limited to 'src')
-rw-r--r--src/pdumper.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index ed763a5d7ef..dfc7388b634 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -5335,7 +5335,11 @@ dump_do_dump_relocation (const uintptr_t dump_base,
5335 comp_u->file = eln_fname; 5335 comp_u->file = eln_fname;
5336 comp_u->handle = dynlib_open (SSDATA (eln_fname)); 5336 comp_u->handle = dynlib_open (SSDATA (eln_fname));
5337 if (!comp_u->handle) 5337 if (!comp_u->handle)
5338 error ("%s", dynlib_error ()); 5338 {
5339 fprintf (stderr, "Error using execdir %s:\n",
5340 emacs_execdir);
5341 error ("%s", dynlib_error ());
5342 }
5339 load_comp_unit (comp_u, true, false); 5343 load_comp_unit (comp_u, true, false);
5340 break; 5344 break;
5341 } 5345 }