Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv10380
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.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- make-pe-exe.py 10 May 2003 19:23:31 -0000 1.32
+++ make-pe-exe.py 11 May 2003 05:52:56 -0000 1.33
@@ -292,14 +292,14 @@
# emit thunk structures
for dll in imports_by_dlls.keys():
for sym in imports_by_dlls[dll].keys():
- imports.place_symbol('%.imports/thunk/' + sym + '@' + dll)
+ imports.place_symbol('&.imports/thunk/%s@%s #rva' % (sym, dll))
imports.align(2)
imports.emit_wyde(0) # ordinal
imports.emit_string(sym)
imports.emit_byte(0)
# emit DLL names
for dll in imports_by_dlls.keys():
- imports.place_symbol('%.imports/' + dll + '/dll-name')
+ imports.place_symbol('&.imports/%s/dll-name #rva' % dll)
imports.emit_string(dll + '.dll')
imports.emit_byte(0)
|