[Wisp-cvs] wisp/users/dig coff.py,1.3,1.4 pe.py,1.10,1.11
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-05-17 15:37:18
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv25242 Modified Files: coff.py pe.py Log Message: dropped make_coff_header in favour of make-coff-header Index: coff.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/coff.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- coff.py 17 May 2003 13:50:52 -0000 1.3 +++ coff.py 17 May 2003 15:37:14 -0000 1.4 @@ -9,9 +9,6 @@ from linkie import Linkie from tran import interpret_single -def make_coff_header (target = '<'): - return interpret_single('make-coff-header', target, include = 'coff') - def make_coff_section_header (byte_order, name): h = Linkie(byte_order) h.align(4) Index: pe.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/pe.py,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- pe.py 17 May 2003 15:05:17 -0000 1.10 +++ pe.py 17 May 2003 15:37:14 -0000 1.11 @@ -166,7 +166,7 @@ e.align(8) # PE header must be aligned to 8 e.place_symbol('!pe') e.emit_string('PE\0\0') - e.glue(e.memsz(), make_coff_header(), None) + interpret_single('make-coff-header', e, include = 'coff') e.glue(e.memsz(), make_pe_aout_header(), None) text = text.copy() # so we won't add import stubs to the original linkie imports = Linkie('<') |