diff options
author | marcel <marcel@FreeBSD.org> | 2011-06-16 17:41:21 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-06-16 17:41:21 +0000 |
commit | c7e47a0b817b315abc257680794d408d2fc75290 (patch) | |
tree | cb842cea29943203ab38beb6f80dff1f2afd4f40 /sys/kern/link_elf.c | |
parent | 30391f29baccc63c33ab14e87503fc6763612f29 (diff) | |
download | FreeBSD-src-c7e47a0b817b315abc257680794d408d2fc75290.zip FreeBSD-src-c7e47a0b817b315abc257680794d408d2fc75290.tar.gz |
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.
Diffstat (limited to 'sys/kern/link_elf.c')
-rw-r--r-- | sys/kern/link_elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c index 38bf37f..2f9a1f6 100644 --- a/sys/kern/link_elf.c +++ b/sys/kern/link_elf.c @@ -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: |