Mark the kernel linker file as linked so that it is visible to the various

kld*() syscalls.

Tested by:	piso
This commit is contained in:
John Baldwin 2007-02-26 16:48:14 +00:00
parent 4a0f58d25b
commit 59800afcb5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167020

View File

@ -306,6 +306,7 @@ link_elf_init(void* arg)
#endif
(void)link_elf_link_common_finish(linker_kernel_file);
linker_kernel_file->flags |= LINKER_FILE_LINKED;
}
SYSINIT(link_elf, SI_SUB_KLD, SI_ORDER_THIRD, link_elf_init, 0);