[Wisp-cvs] wisp/users/dig elf.py,1.41,1.42
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-04-27 13:00:50
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv19876 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.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- elf.py 27 Apr 2003 12:58:08 -0000 1.41 +++ elf.py 27 Apr 2003 13:00:45 -0000 1.42 @@ -326,7 +326,7 @@ def make_ELF32_header (byte_order, reloc = 0): h = Linkie(byte_order) h.align(4) - h.emit_string('\x7F' + 'ELF') # magic + h[::1] = 0x7F, 0x45, 0x4C, 0x46 # magic h[::1] = ELFCLASS.TETRA if byte_order == '<': h[::1] = ELFDATA.TWOLSB |