mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Remove trailing whitespace.
This commit is contained in:
parent
aa2af3f6dd
commit
a3f49df62d
|
@ -54,7 +54,7 @@ static const
|
||||||
// end of processing by dyld. Relocation, loading of dependent libraries,
|
// end of processing by dyld. Relocation, loading of dependent libraries,
|
||||||
// etc., already have taken place before decompression. So the Mach-o
|
// etc., already have taken place before decompression. So the Mach-o
|
||||||
// headers, the __IMPORT segment, the __LINKEDIT segment, anything
|
// 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,
|
// We simplify arbitrarily by compressing only the __TEXT segment,
|
||||||
// which must be the first segment.
|
// which must be the first segment.
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
// We have been CALLed as a subroutine from dyld; C-language rules apply.
|
// We have been CALLed as a subroutine from dyld; C-language rules apply.
|
||||||
// -4*4+_start: .long offset(user_init_function)
|
// -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)
|
// -2*4+_start: .long length(compressed __TEXT)
|
||||||
// -1*4+_start: .long total_length # of preceding bytes in file
|
// -1*4+_start: .long total_length # of preceding bytes in file
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
@ -171,7 +171,7 @@ main:
|
||||||
lea eax,[-offset(dy_top - dy_reloc) + edi]
|
lea eax,[-offset(dy_top - dy_reloc) + edi]
|
||||||
jmp %eax
|
jmp %eax
|
||||||
dy_reloc:
|
dy_reloc:
|
||||||
|
|
||||||
// Copy compressed __TEXT.
|
// Copy compressed __TEXT.
|
||||||
push edi # remember start of compressed __TEXT
|
push edi # remember start of compressed __TEXT
|
||||||
mov edx,ebx # &total_length
|
mov edx,ebx # &total_length
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
// We have been CALLed as a subroutine from dyld; C-language rules apply.
|
// We have been CALLed as a subroutine from dyld; C-language rules apply.
|
||||||
// -4*4+_start: .long offset(user_init_function)
|
// -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)
|
// -2*4+_start: .long length(compressed __TEXT)
|
||||||
// -1*4+_start: .long 8+ total_length # 8+ number of preceding bytes in file
|
// -1*4+_start: .long 8+ total_length # 8+ number of preceding bytes in file
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user