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:
Robert Watson 2009-07-15 09:19:01 +00:00
parent c1e200ffcc
commit cd2b95a237

View File

@ -793,9 +793,6 @@ link_elf_load_file(linker_class_t cls, const char *filename,
vnet_data_copy(ef->progtab[pb].addr, vnet_data_copy(ef->progtab[pb].addr,
shdr[i].sh_size); shdr[i].sh_size);
#endif #endif
else
panic("link_elf_load_file: unexpected "
"progbits type");
} else } else
bzero(ef->progtab[pb].addr, shdr[i].sh_size); bzero(ef->progtab[pb].addr, shdr[i].sh_size);