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

« back to all changes in this revision

Viewing changes to src/stub/src/i386-openbsd.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
164
164
// exit:  edi= &auxtab; edx= bits still needed
165
165
do_auxv:
166
166
        // cld
 
167
        lodsd; stosd  // argc can be 0
167
168
 
168
 
L10:  // move argc+argv
169
 
        lodsd
170
 
        stosd
 
169
L10:  // move argv
 
170
        lodsd; stosd
171
171
        test eax,eax
172
172
        jne L10
173
173
 
174
174
L20:  // move envp
175
 
        lodsd
176
 
        stosd
 
175
        lodsd; stosd
177
176
        test eax,eax
178
177
        jne L20
179
178