[Wisp-cvs] wisp/users/dig elf.py,1.50,1.51
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-04-27 20:11:04
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv25022 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.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- elf.py 27 Apr 2003 18:00:08 -0000 1.50 +++ elf.py 27 Apr 2003 20:11:00 -0000 1.51 @@ -335,7 +335,7 @@ else: raise 'Invalid byte order', byte_order h[::1] = EV.CURRENT - h.emit_string('\0' * 9) + h[::1] = (0,) * 9 h[::2] = '#elf/type', '#elf/machine' h[::4] = EV.CURRENT if not reloc: h[::4] = '&_start', '!elf/proghdr' |