1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=195707

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