[Wisp-cvs] wisp/users/dig elf.py,1.48,1.49
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-04-27 17:55:57
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv4543 Modified Files: elf.py Log Message: rolled back bad patch Index: elf.py =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/elf.py,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- elf.py 27 Apr 2003 15:24:01 -0000 1.48 +++ elf.py 27 Apr 2003 17:55:54 -0000 1.49 @@ -336,7 +336,8 @@ raise 'Invalid byte order', byte_order h[::1] = EV.CURRENT h.emit_string('\0' * 9) - h[::2] = '#elf/type', '#elf/machine' + h.emit_wyde_sum(['#elf/type']) + h.emit_wyde_sum(['#elf/machine']) h[::4] = EV.CURRENT if not reloc: h[::4] = '&_start', '!elf/proghdr' else: h[::4] = 0, 0 |