Avoid some warnings.
This commit is contained in:
@@ -629,10 +629,12 @@ void PackW32Pe::pack(OutputFile *fo)
|
||||
else if (opt->win32_pe.strip_relocs < 0)
|
||||
opt->win32_pe.strip_relocs = (ih.imagebase >= 0x400000);
|
||||
if (opt->win32_pe.strip_relocs)
|
||||
{
|
||||
if (ih.imagebase < 0x400000)
|
||||
throwCantPack("--strip-relocs is not allowed when imagebase < 0x400000");
|
||||
else
|
||||
ih.flags |= RELOCS_STRIPPED;
|
||||
}
|
||||
|
||||
if (memcmp(isection[0].name,"UPX",3) == 0)
|
||||
throwAlreadyPackedByUPX();
|
||||
|
||||
Reference in New Issue
Block a user