mirror of
https://github.com/upx/upx.git
synced 2024-11-26 22:20:52 +00:00
Fix some misspellings.
This commit is contained in:
parent
33dc947c21
commit
69355514c9
2
NEWS
2
NEWS
@ -113,7 +113,7 @@ Changes in 2.93 beta (08 Mar 2007):
|
||||
you have to explicitly use '--lzma' even for '--ultra-brute' here
|
||||
because runtime decompression is about 30 times slower than NRV -
|
||||
which is really noticeable on old machines.
|
||||
* dos/exe: fixed a rarely occuring bug in relocation handling
|
||||
* dos/exe: fixed a rarely occurring bug in relocation handling
|
||||
* win32/pe & arm/pe: better icon compression handling
|
||||
|
||||
Changes in 2.92 beta (23 Jan 2007):
|
||||
|
@ -129,7 +129,7 @@ public:
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
// application execptions
|
||||
// application exceptions
|
||||
**************************************************************************/
|
||||
|
||||
class OverlayException : public Exception
|
||||
|
@ -112,7 +112,7 @@ protected:
|
||||
LE32 extra_heap_alloc;
|
||||
char reserved[12];
|
||||
LE32 versioninfo;
|
||||
LE32 unkown;
|
||||
LE32 unknown;
|
||||
// 0xC0
|
||||
LE16 device_id;
|
||||
LE16 ddk_version;
|
||||
|
@ -1785,7 +1785,7 @@ int PackMachBase<T>::canUnpack()
|
||||
|
||||
overlay_offset = 0;
|
||||
// The first non-zero word scanning backwards from __LINKEDIT.fileoff
|
||||
// is the total length of compressed data which preceeds it
|
||||
// is the total length of compressed data which precedes it
|
||||
//(distance to l_info), so that's another method.
|
||||
fi->seek(offLINK - 0x1000, SEEK_SET);
|
||||
fi->readx(buf, 0x1000);
|
||||
|
@ -203,7 +203,7 @@ bool Packer::compress(upx_bytep i_ptr, unsigned i_len, upx_bytep o_ptr,
|
||||
// update checksum of uncompressed data
|
||||
ph.u_adler = upx_adler32(i_ptr, ph.u_len, ph.u_adler);
|
||||
|
||||
// set compression paramters
|
||||
// set compression parameters
|
||||
upx_compress_config_t cconf; cconf.reset();
|
||||
if (cconf_parm)
|
||||
cconf = *cconf_parm;
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "ppc_regs.h"
|
||||
// http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#STACK
|
||||
SZ_LINK= 6*8 // (sp,cr,lr, xx,yy,zz) save area per calling convention
|
||||
SZ_PSAV= 8*8 // for spilling a0-a7 if necesary
|
||||
SZ_PSAV= 8*8 // for spilling a0-a7 if necessary
|
||||
retaddr = 2*8 // lr === pc
|
||||
|
||||
#define section .section
|
||||
|
@ -373,7 +373,7 @@ umax(unsigned a, unsigned b)
|
||||
// of lowering the segment limit on %cs as an implementation of "no-execute
|
||||
// .data". Thus OpenBSD 3.9 puts a gap of 0x20000000 (512 MiB) between the
|
||||
// origins of .text and .data in each module. So, mapping ET_DYN must "level"
|
||||
// the excursion in .text and .data of anything which preceeded it,
|
||||
// the excursion in .text and .data of anything which preceded it,
|
||||
// then add the new PT_LOAD.
|
||||
|
||||
static unsigned long // returns relocation constant
|
||||
|
@ -160,7 +160,7 @@ L90:
|
||||
movr sp,a0
|
||||
|
||||
stwu sp,-(SZ_FRAME+OVERHEAD)(sp) // allocate this frame
|
||||
lwz a1,sz_pack2_f_exp(r_exp) // sz_pack2 == #bytes which preceed -2*NBPW(r_exp)
|
||||
lwz a1,sz_pack2_f_exp(r_exp) // sz_pack2 == #bytes which precede -2*NBPW(r_exp)
|
||||
|
||||
add a0,r_ADRU,r_BINFO // &b_info
|
||||
sub a1,a1,r_BINFO // total_size
|
||||
|
@ -66,7 +66,7 @@ uncompress:
|
||||
|
||||
SZ_DLINE=128 # size of data cache line in Apple G5
|
||||
|
||||
/* register assingments for NRV algorithms */
|
||||
/* register assignments for NRV algorithms */
|
||||
#define hibit r0 /* holds 0x80000000 during decompress */
|
||||
|
||||
#define src a0
|
||||
|
@ -167,7 +167,7 @@ r_reloc= 32 - 1 # used slot in register save area
|
||||
std r_ADRU,0(a6) // elfbase
|
||||
|
||||
stdu sp,-(SZ_FRAME+OVERHEAD)(sp) // allocate this frame
|
||||
lwz a1,sz_pack2_f_exp(r_exp) // sz_pack2 == #bytes which preceed -2*NBPW(r_exp)
|
||||
lwz a1,sz_pack2_f_exp(r_exp) // sz_pack2 == #bytes which precede -2*NBPW(r_exp)
|
||||
|
||||
add a0,r_ADRU,r_BINFO // &b_info
|
||||
sub a1,a1,r_BINFO // total_size
|
||||
|
@ -66,7 +66,7 @@ uncompress:
|
||||
|
||||
SZ_DLINE=128 # size of data cache line in Apple G5
|
||||
|
||||
/* register assingments for NRV algorithms */
|
||||
/* register assignments for NRV algorithms */
|
||||
#define hibit r0 /* holds 0x80000000 during decompress */
|
||||
|
||||
#define src a0
|
||||
|
@ -346,7 +346,7 @@ static int readelfheaderident(int fd, Elf32_Ehdr *ehdr)
|
||||
do_reverse_endian = 0;
|
||||
}
|
||||
#else
|
||||
#error unkown endianness
|
||||
#error unknown endianness
|
||||
#endif
|
||||
else {
|
||||
err("Unsupported endianness");
|
||||
|
Loading…
Reference in New Issue
Block a user