diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-07-15 09:19:01 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-07-15 09:19:01 +0000 |
commit | 33fcedf56782765b8b79b59025d7335b429649d1 (patch) | |
tree | 202ae08edc172a46719c3305cd629b75a6f13862 | |
parent | bc565b5b979e60ff6d1c27c474c0defe22eaf8ee (diff) | |
download | FreeBSD-src-33fcedf56782765b8b79b59025d7335b429649d1.zip FreeBSD-src-33fcedf56782765b8b79b59025d7335b429649d1.tar.gz |
r195699 introduced an assertion regarding when progbits data in kernel
modules was present, which turns out to be false in some situations.
Back out the assertion.
Reported by: Luiz Otavio O Souza <lists.br at gmail.com>,
Florian Smeets <flo at kasimir.com>
Approved by: re (kensmith) (implicit)
-rw-r--r-- | sys/kern/link_elf_obj.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c index afcdd63..081f663 100644 --- a/sys/kern/link_elf_obj.c +++ b/sys/kern/link_elf_obj.c @@ -793,9 +793,6 @@ link_elf_load_file(linker_class_t cls, const char *filename, vnet_data_copy(ef->progtab[pb].addr, shdr[i].sh_size); #endif - else - panic("link_elf_load_file: unexpected " - "progbits type"); } else bzero(ef->progtab[pb].addr, shdr[i].sh_size); |