~ubuntu-branches/debian/sid/upx-ucl/sid

« back to all changes in this revision

Viewing changes to src/stub/src/i386-bsd.elf-fold.S

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2009-10-16 12:56:47 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20091016125647-vity1npel2qsmr9c
Tags: 3.04-1
* New upstream release:
  + FTBFS with gcc 4.4 fixed by upstream (closes: #548566).
* p_mach.cpp: Fix from upstream vcs: mach/fat needs seek() 
  after set_extent().

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
;
4
4
;  This file is part of the UPX executable compressor.
5
5
;
6
 
;  Copyright (C) 2000-2008 John F. Reiser
 
6
;  Copyright (C) 2000-2009 John F. Reiser
7
7
;  All Rights Reserved.
8
8
;
9
9
;  UPX and the UCL library are free software; you can redistribute them
163
163
// exit:  edi= &auxtab; edx= bits still needed
164
164
do_auxv:
165
165
        // cld
 
166
        lodsd; stosd  // argc can be zero
166
167
 
167
 
L10:  // move argc+argv
168
 
        lodsd
169
 
        stosd
 
168
L10:  // move argv
 
169
        lodsd; stosd
170
170
        test eax,eax
171
171
        jne L10
172
172
 
173
173
L20:  // move envp
174
 
        lodsd
175
 
        stosd
 
174
        lodsd; stosd
176
175
        test eax,eax
177
176
        jne L20
178
177