Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv4786
Modified Files:
make-pe-exe.py
Log Message:
a few references to %foo converted into references to &foo
Index: make-pe-exe.py
===================================================================
RCS file: /cvsroot/wisp/wisp/users/dig/make-pe-exe.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- make-pe-exe.py 10 May 2003 18:57:37 -0000 1.28
+++ make-pe-exe.py 10 May 2003 19:05:45 -0000 1.29
@@ -277,9 +277,9 @@
import_table_start = imports.memsz()
for dll in imports_by_dlls.keys():
imports[::4] = 0, 0 # hint-name pointer, timestamp
- imports[::4] = '#.imports/' + dll + '/forwarder-chain'
- imports[::4] = '%.imports/' + dll + '/dll-name'
- imports[::4] = '%.imports/' + dll + '/first-thunk'
+ imports[::4] = '#.imports/%s/forwarder-chain' % dll
+ imports[::4] = '&.imports/%s/dll-name #rva' % dll
+ imports[::4] = '&.imports/%s/first-thunk #rva' % dll
imports.place_symbol('#.imports/' + dll + '/forwarder-chain', 0)
imports.emit_string('\0' * 20)
# emit thunk lists
|