diff --git a/NEWS b/NEWS index 31f733bd..b753313b 100644 --- a/NEWS +++ b/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): diff --git a/src/except.h b/src/except.h index abd26af6..45795396 100644 --- a/src/except.h +++ b/src/except.h @@ -129,7 +129,7 @@ public: /************************************************************************* -// application execptions +// application exceptions **************************************************************************/ class OverlayException : public Exception diff --git a/src/lefile.h b/src/lefile.h index 2780af9e..71730d61 100644 --- a/src/lefile.h +++ b/src/lefile.h @@ -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; diff --git a/src/p_mach.cpp b/src/p_mach.cpp index bb62eb42..78740ebe 100644 --- a/src/p_mach.cpp +++ b/src/p_mach.cpp @@ -1785,7 +1785,7 @@ int PackMachBase::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); diff --git a/src/packer.cpp b/src/packer.cpp index ee01a414..7e4d2fb7 100644 --- a/src/packer.cpp +++ b/src/packer.cpp @@ -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; diff --git a/src/stub/src/arch/powerpc/64le/lzma_d-common.S b/src/stub/src/arch/powerpc/64le/lzma_d-common.S index d8989c65..78d55347 100644 --- a/src/stub/src/arch/powerpc/64le/lzma_d-common.S +++ b/src/stub/src/arch/powerpc/64le/lzma_d-common.S @@ -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 diff --git a/src/stub/src/i386-openbsd.elf-main.c b/src/stub/src/i386-openbsd.elf-main.c index c3ace3e1..f966241e 100644 --- a/src/stub/src/i386-openbsd.elf-main.c +++ b/src/stub/src/i386-openbsd.elf-main.c @@ -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 diff --git a/src/stub/src/powerpc-linux.elf-fold.S b/src/stub/src/powerpc-linux.elf-fold.S index 934309db..e0adc252 100644 --- a/src/stub/src/powerpc-linux.elf-fold.S +++ b/src/stub/src/powerpc-linux.elf-fold.S @@ -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 diff --git a/src/stub/src/powerpc-linux.kernel.vmlinux.S b/src/stub/src/powerpc-linux.kernel.vmlinux.S index bde92358..c08d989d 100644 --- a/src/stub/src/powerpc-linux.kernel.vmlinux.S +++ b/src/stub/src/powerpc-linux.kernel.vmlinux.S @@ -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 diff --git a/src/stub/src/powerpc64le-linux.elf-fold.S b/src/stub/src/powerpc64le-linux.elf-fold.S index 97213872..66a795fe 100644 --- a/src/stub/src/powerpc64le-linux.elf-fold.S +++ b/src/stub/src/powerpc64le-linux.elf-fold.S @@ -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 diff --git a/src/stub/src/powerpc64le-linux.kernel.vmlinux.S b/src/stub/src/powerpc64le-linux.kernel.vmlinux.S index a106a6a1..ee3fdd00 100644 --- a/src/stub/src/powerpc64le-linux.kernel.vmlinux.S +++ b/src/stub/src/powerpc64le-linux.kernel.vmlinux.S @@ -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 diff --git a/src/stub/tools/sstrip/sstrip.c b/src/stub/tools/sstrip/sstrip.c index e9e9704a..10b40a6b 100644 --- a/src/stub/tools/sstrip/sstrip.c +++ b/src/stub/tools/sstrip/sstrip.c @@ -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");