Added an assertion to make sure I've really understood the semantics

of the ctok32 filter length.
This commit is contained in:
Markus F.X.J. Oberhumer
2006-12-22 15:19:51 +01:00
parent 4cee0676a4
commit 9e77dbfe20
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -271,7 +271,8 @@ void PackVmlinuxBase<T>::pack(OutputFile *fo)
defineDecompressorSymbols();
defineFilterSymbols(linker, &ft);
if (0x40==(0xf0 & ft.id)) {
linker->defineSymbol("filter_length", ph.u_len); // redefine
linker->defineSymbol("filter_length", ft.buf_len); // redefine
assert(ft.buf_len == ph.u_len);
}
relocateLoader();