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:
parent
c67a03f99a
commit
8a71031712
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user