Even if the loaded module has no symbols, we still need to notify

MD code about it and update the link map for GDB's use.
This commit is contained in:
Marcel Moolenaar 2011-06-16 17:41:21 +00:00
parent c67a03f99a
commit 8a71031712
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223155

View File

@ -950,11 +950,11 @@ link_elf_load_file(linker_class_t cls, const char* filename,
ef->ddbstrcnt = strcnt;
ef->ddbstrtab = ef->strbase;
nosyms:
error = link_elf_link_common_finish(lf);
if (error != 0)
goto out;
nosyms:
*result = lf;
out: