1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

arm-linux.kernel methods

This commit is contained in:
John Reiser 2006-12-17 15:34:13 -08:00
parent bd5cef1411
commit dfa83b0ac8

View File

@ -130,7 +130,7 @@ PackVmlinuxARM::~PackVmlinuxARM()
const int *PackVmlinuxARM::getCompressionMethods(int method, int level) const const int *PackVmlinuxARM::getCompressionMethods(int method, int level) const
{ {
return Packer::getDefaultCompressionMethods_le32(method, level); return Packer::getDefaultCompressionMethods_8(method, level);
} }
@ -406,8 +406,13 @@ void PackVmlinuxARM::buildLoader(const Filter *ft)
if (ft->id) { if (ft->id) {
addFilter32(ft->id); addFilter32(ft->id);
} }
addLoader("LINUX030", getDecompressorSections(), addLoader("LINUX030", NULL);
"IDENTSTR,UPX1HEAD", NULL); if (ph.method == M_NRV2E_8) addLoader("NRV2E", NULL);
else if (ph.method == M_NRV2B_8) addLoader("NRV2B", NULL);
else if (ph.method == M_NRV2D_8) addLoader("NRV2D", NULL);
else if (M_IS_LZMA(ph.method)) addLoader("LZMA_ELF00,LZMA_DEC10,LZMA_DEC30", NULL);
else throwBadLoader();
addLoader("IDENTSTR,UPX1HEAD", NULL);
} }