mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Prepare release.
This commit is contained in:
parent
9e8a0a020f
commit
626025d539
4
NEWS
4
NEWS
|
@ -3,12 +3,12 @@ User visible changes for UPX
|
||||||
==================================================================
|
==================================================================
|
||||||
|
|
||||||
Changes in 3.05 (27 Apr 2010):
|
Changes in 3.05 (27 Apr 2010):
|
||||||
* Withdraw support for shared libraries on Darwin (Apple Mac OS X)
|
|
||||||
because upx does not understand enough about .dylib.
|
|
||||||
* i386-linux and amd64-linux support shared libraries (DT_INIT must
|
* i386-linux and amd64-linux support shared libraries (DT_INIT must
|
||||||
exist, all info needed by runtime loader must be first in .text, etc.)
|
exist, all info needed by runtime loader must be first in .text, etc.)
|
||||||
* Linux /proc/self/exe now is preserved by default, by leaving behind
|
* Linux /proc/self/exe now is preserved by default, by leaving behind
|
||||||
one page. New compress-time option --unmap-all-pages is available.
|
one page. New compress-time option --unmap-all-pages is available.
|
||||||
|
* Withdraw support for shared libraries on Darwin (Apple Mac OS X)
|
||||||
|
because upx does not understand enough about .dylib.
|
||||||
* bug fixes
|
* bug fixes
|
||||||
|
|
||||||
Changes in 3.04 (27 Sep 2009):
|
Changes in 3.04 (27 Sep 2009):
|
||||||
|
|
|
@ -546,7 +546,7 @@ int upx_lzma_compress ( const upx_bytep src, unsigned src_len,
|
||||||
}
|
}
|
||||||
|
|
||||||
error:
|
error:
|
||||||
*dst_len = os.b_pos;
|
*dst_len = (unsigned) os.b_pos;
|
||||||
//printf("\nlzma_compress: %d: %u %u %u %u %u, %u - > %u\n", r, res->pos_bits, res->lit_pos_bits, res->lit_context_bits, res->dict_size, res->num_probs, src_len, *dst_len);
|
//printf("\nlzma_compress: %d: %u %u %u %u %u, %u - > %u\n", r, res->pos_bits, res->lit_pos_bits, res->lit_context_bits, res->dict_size, res->num_probs, src_len, *dst_len);
|
||||||
//printf("%u %u %u\n", is.__m_RefCount, os.__m_RefCount, progress.__m_RefCount);
|
//printf("%u %u %u\n", is.__m_RefCount, os.__m_RefCount, progress.__m_RefCount);
|
||||||
return r;
|
return r;
|
||||||
|
|
|
@ -51,8 +51,9 @@ void show_head(void)
|
||||||
fg = con_fg(f,FG_GREEN);
|
fg = con_fg(f,FG_GREEN);
|
||||||
con_fprintf(f,
|
con_fprintf(f,
|
||||||
" Ultimate Packer for eXecutables\n"
|
" Ultimate Packer for eXecutables\n"
|
||||||
" Copyright (C) 1996 - 2009\n"
|
" Copyright (C) 1996 - %s\n"
|
||||||
"UPX %-10s Markus Oberhumer, Laszlo Molnar & John Reiser %14s\n\n",
|
"UPX %-10s Markus Oberhumer, Laszlo Molnar & John Reiser %14s\n\n",
|
||||||
|
UPX_VERSION_YEAR,
|
||||||
#if (ACC_OS_DOS16 || ACC_OS_DOS32)
|
#if (ACC_OS_DOS16 || ACC_OS_DOS32)
|
||||||
V("d"),
|
V("d"),
|
||||||
#elif (ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64)
|
#elif (ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64)
|
||||||
|
|
|
@ -469,7 +469,7 @@ int ElfLinker::getSection(const char *sname, int *slen) const
|
||||||
const Section *section = findSection(sname);
|
const Section *section = findSection(sname);
|
||||||
if (slen)
|
if (slen)
|
||||||
*slen = section->size;
|
*slen = section->size;
|
||||||
return section->output - output;
|
return (int) (section->output - output);
|
||||||
}
|
}
|
||||||
|
|
||||||
int ElfLinker::getSectionSize(const char *sname) const
|
int ElfLinker::getSectionSize(const char *sname) const
|
||||||
|
|
Loading…
Reference in New Issue
Block a user