Date: Thu, 16 Jun 2011 17:41:21 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r223155 - head/sys/kern Message-ID: <201106161741.p5GHfL30039464@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Thu Jun 16 17:41:21 2011 New Revision: 223155 URL: http://svn.freebsd.org/changeset/base/223155 Log: 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. Modified: head/sys/kern/link_elf.c Modified: head/sys/kern/link_elf.c ============================================================================== --- head/sys/kern/link_elf.c Thu Jun 16 17:30:50 2011 (r223154) +++ head/sys/kern/link_elf.c Thu Jun 16 17:41:21 2011 (r223155) @@ -950,11 +950,11 @@ link_elf_load_file(linker_class_t cls, c ef->ddbstrcnt = strcnt; ef->ddbstrtab = ef->strbase; +nosyms: error = link_elf_link_common_finish(lf); if (error != 0) goto out; -nosyms: *result = lf; out:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106161741.p5GHfL30039464>