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)
This commit is contained in:
rwatson 2009-07-15 09:19:01 +00:00
parent bc565b5b97
commit 33fcedf567

View File

@ -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);