Added Packer::getLoaderSectionStart(), where the size of the section
is allowed to be zero. committer: mfx <mfx> 976719893 +0000
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ void PackvmlinuzI386::pack(OutputFile *fo)
|
||||
MemBuffer loader(lsize);
|
||||
memcpy(loader, getLoader(), lsize);
|
||||
|
||||
int e_len = bzImage ? getLoaderSection("LZCUTPOI") : lsize;
|
||||
int e_len = bzImage ? getLoaderSectionStart("LZCUTPOI") : lsize;
|
||||
patchPackHeader(loader, lsize);
|
||||
|
||||
if (bzImage)
|
||||
|
||||
Reference in New Issue
Block a user