[Wisp-cvs] wisp/users/dig make-pe-exe.py,1.9,1.10
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-04-29 01:38:55
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv27771 Modified Files: make-pe-exe.py Log Message: no hint-name array Index: make-pe-exe.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/make-pe-exe.py,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- make-pe-exe.py 29 Apr 2003 01:30:35 -0000 1.9 +++ make-pe-exe.py 29 Apr 2003 01:38:51 -0000 1.10 @@ -280,15 +280,11 @@ imports.align(4) import_table_start = imports.memsz() for dll in imports_by_dlls.keys(): - imports.emit_tetra_sum(['%.imports/' + dll + '/hint-name']) - imports.emit_tetra(0) # timestamp - imports.emit_tetra_sum(['#.imports/' + dll + '/forwarder-chain']) - imports.emit_tetra_sum(['%.imports/' + dll + '/dll-name']) - imports.emit_tetra_sum(['%.imports/' + dll + '/first-thunk']) + 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.place_symbol('#.imports/' + dll + '/forwarder-chain', 0) - # Apparently, hint-name array may not exist. - # It is rumoured that Symantec's linkers don't emit it. - imports.place_symbol('%.imports/' + dll + '/hint-name', 0) imports.emit_string('\0' * 20) # emit thunk lists for dll in imports_by_dlls.keys(): |