diff options
author | jhb <jhb@FreeBSD.org> | 2007-02-26 16:48:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-02-26 16:48:14 +0000 |
commit | 7816149d47ddbc9978f65564980e2ba4bdc52693 (patch) | |
tree | 2d29fb504e82e9b48a95bcceb5a15b29b90ef498 /sys/kern | |
parent | c40e03e0257643f38d0cba1abd6712bcf56c3006 (diff) | |
download | FreeBSD-src-7816149d47ddbc9978f65564980e2ba4bdc52693.zip FreeBSD-src-7816149d47ddbc9978f65564980e2ba4bdc52693.tar.gz |
Mark the kernel linker file as linked so that it is visible to the various
kld*() syscalls.
Tested by: piso
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/link_elf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c index b78776a..6902615 100644 --- a/sys/kern/link_elf.c +++ b/sys/kern/link_elf.c @@ -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); |