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

Prepare release.

This commit is contained in:
Markus F.X.J. Oberhumer 2010-04-27 16:09:41 +02:00
parent 9e8a0a020f
commit 626025d539
4 changed files with 6 additions and 5 deletions

4
NEWS
View File

@ -3,12 +3,12 @@ User visible changes for UPX
==================================================================
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
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
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
Changes in 3.04 (27 Sep 2009):

View File

@ -546,7 +546,7 @@ int upx_lzma_compress ( const upx_bytep src, unsigned src_len,
}
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("%u %u %u\n", is.__m_RefCount, os.__m_RefCount, progress.__m_RefCount);
return r;

View File

@ -51,8 +51,9 @@ void show_head(void)
fg = con_fg(f,FG_GREEN);
con_fprintf(f,
" 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_VERSION_YEAR,
#if (ACC_OS_DOS16 || ACC_OS_DOS32)
V("d"),
#elif (ACC_OS_WIN16 || ACC_OS_WIN32 || ACC_OS_WIN64)

View File

@ -469,7 +469,7 @@ int ElfLinker::getSection(const char *sname, int *slen) const
const Section *section = findSection(sname);
if (slen)
*slen = section->size;
return section->output - output;
return (int) (section->output - output);
}
int ElfLinker::getSectionSize(const char *sname) const