Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv1524
Modified Files:
elfdump.py
Log Message:
list more section header flags
Index: elfdump.py
===================================================================
RCS file: /cvsroot/wisp/wisp/users/dig/elfdump.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- elfdump.py 6 Feb 2003 21:30:45 -0000 1.1
+++ elfdump.py 12 Apr 2003 12:06:32 -0000 1.2
@@ -151,8 +151,8 @@
print 'Section header table:'
f.seek(e_shoff)
- print 'No type fla addr offset size link info align each'
- print '== ==== === ======== ====== ====== ==== ==== ===== ===='
+ print 'No type flags addr offset size link info align each'
+ print '== ==== ======== ======== ====== ====== ==== ==== ===== ===='
for i in range(e_shnum):
shentry = f.read(e_shentsize)
sh_name, sh_type, sh_flags, sh_addr, sh_offset, sh_size, \
@@ -179,7 +179,7 @@
SHT.GNU_verneed: 'vern',
SHT.GNU_versym: 'vers'}[sh_type],
except: print '%4x' % sh_type,
- flags_shortly('xaw', sh_flags)
+ flags_shortly('oism?xaw', sh_flags)
print '%8x' % sh_addr,
print '%6x' % sh_offset,
print '%6x' % sh_size,
|