svn commit: r223155 - head/sys/kern

Marcel Moolenaar marcel at FreeBSD.org
Thu Jun 16 17:41:21 UTC 2011


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:


More information about the svn-src-head mailing list