diff --git a/src/p_mach.cpp b/src/p_mach.cpp index 45b2b5f8..30ef704e 100644 --- a/src/p_mach.cpp +++ b/src/p_mach.cpp @@ -54,7 +54,7 @@ static const // end of processing by dyld. Relocation, loading of dependent libraries, // etc., already have taken place before decompression. So the Mach-o // headers, the __IMPORT segment, the __LINKEDIT segment, anything -// that is modifed by relocation, etc., cannot be compressed. +// that is modifed by relocation, etc., cannot be compressed. // We simplify arbitrarily by compressing only the __TEXT segment, // which must be the first segment. diff --git a/src/stub/src/i386-darwin.dylib-entry.S b/src/stub/src/i386-darwin.dylib-entry.S index 35088ba7..dae7cc6e 100644 --- a/src/stub/src/i386-darwin.dylib-entry.S +++ b/src/stub/src/i386-darwin.dylib-entry.S @@ -37,7 +37,7 @@ /************************************************************************* // We have been CALLed as a subroutine from dyld; C-language rules apply. // -4*4+_start: .long offset(user_init_function) -// -3*4+_start: .long offset(&b_info of compressed Mach_headers) +// -3*4+_start: .long offset(&b_info of compressed Mach_headers) // -2*4+_start: .long length(compressed __TEXT) // -1*4+_start: .long total_length # of preceding bytes in file **************************************************************************/ @@ -171,7 +171,7 @@ main: lea eax,[-offset(dy_top - dy_reloc) + edi] jmp %eax dy_reloc: - + // Copy compressed __TEXT. push edi # remember start of compressed __TEXT mov edx,ebx # &total_length diff --git a/src/stub/src/powerpc-darwin.dylib-entry.S b/src/stub/src/powerpc-darwin.dylib-entry.S index 63a95b1b..474c1cf0 100644 --- a/src/stub/src/powerpc-darwin.dylib-entry.S +++ b/src/stub/src/powerpc-darwin.dylib-entry.S @@ -32,7 +32,7 @@ /************************************************************************* // We have been CALLed as a subroutine from dyld; C-language rules apply. // -4*4+_start: .long offset(user_init_function) -// -3*4+_start: .long offset(b_info of compressed Mach_headers) +// -3*4+_start: .long offset(b_info of compressed Mach_headers) // -2*4+_start: .long length(compressed __TEXT) // -1*4+_start: .long 8+ total_length # 8+ number of preceding bytes in file **************************************************************************/