[Wisp-cvs] wisp/users/dig elf.py,1.43,1.44
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-04-27 13:07:53
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv23306 Modified Files: elf.py Log Message: use cleaner syntax in elf.py Index: elf.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/elf.py,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- elf.py 27 Apr 2003 13:07:00 -0000 1.43 +++ elf.py 27 Apr 2003 13:07:50 -0000 1.44 @@ -341,8 +341,7 @@ h[::4] = EV.CURRENT if not reloc: h[::4] = '&_start', '!elf/proghdr' else: h[::4] = 0, 0 - h.emit_tetra_sum(['!elf/secthdr']) - h.emit_tetra_sum(['#elf/flags']) + h[::4] = '!elf/secthdr', '#elf/flags' h[::2] = 0x34 # e_ehsize h[::2] = 32 # e_phentsize h.emit_wyde_sum(['#elf/phnum']) |