[Wisp-cvs] wisp/users/dig make-pe-exe.py,1.34,1.35
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-05-11 06:22:30
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv17044 Modified Files: make-pe-exe.py Log Message: include size of .istubs in #aout/text-size Index: make-pe-exe.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/make-pe-exe.py,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- make-pe-exe.py 11 May 2003 06:14:21 -0000 1.34 +++ make-pe-exe.py 11 May 2003 06:22:25 -0000 1.35 @@ -350,7 +350,7 @@ e.place_symbol('#aout/magic', 0x010B) # PE32 e.place_symbol('#aout/linker-version-major', 0) e.place_symbol('#aout/linker-version-minor', 1) -e.place_symbol('#aout/text-size', roundup(text.memsz(), 0x200)) +e.place_symbol('#aout/text-size', roundup(text.memsz(), 0x200) + roundup(istubs.memsz(), 0x200)) e.place_symbol('#aout/data-size', roundup(data.memsz(), 0x200)) e.place_symbol('#aout/bss-size', roundup(bss.memsz(), 0x200)) e.place_symbol('#aout/image-base', 0x00400000) |