mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
save 2 bytes when compressed
committer: jreiser <jreiser> 994968843 +0000
This commit is contained in:
parent
e4660b8608
commit
d85f48fb97
|
@ -166,11 +166,11 @@ L20: ; move envp
|
||||||
L30: ; process auxv
|
L30: ; process auxv
|
||||||
lodsd ; a_type
|
lodsd ; a_type
|
||||||
stosd
|
stosd
|
||||||
btr edx, eax ; no longer need a slot of type eax
|
test eax, eax ; AT_NULL ? [flags: Zero, Sign, Parity; C=0, V=0]
|
||||||
test eax, eax ; AT_NULL ?
|
btr edx, eax ; no longer need a slot of type eax [Carry only]
|
||||||
lodsd
|
lodsd
|
||||||
stosd
|
stosd
|
||||||
jne L30
|
jne L30 ; checks only Zero bit of flags
|
||||||
|
|
||||||
sub edi, byte 8 ; backup to AT_NULL
|
sub edi, byte 8 ; backup to AT_NULL
|
||||||
add ecx, ecx ; two words per auxv
|
add ecx, ecx ; two words per auxv
|
||||||
|
|
Loading…
Reference in New Issue
Block a user