commit | 7fafd13e6bb869810d96974ab92a9c815b2bc650 | [log] [tgz] |
---|---|---|
author | Eli Bendersky <eliben@gmail.com> | Fri Sep 23 06:06:47 2011 +0300 |
committer | Eli Bendersky <eliben@gmail.com> | Fri Sep 23 06:06:47 2011 +0300 |
tree | f410f403ce01d9e79e105b5416dccb5a95adc2cc | |
parent | 7c1ffa6c34ac3553ec3db4d29fff8a8399a4c1d3 [diff] [blame] |
fixed parsing of r_info field
diff --git a/scripts/readelf.py b/scripts/readelf.py index 46caa11..264f25c 100755 --- a/scripts/readelf.py +++ b/scripts/readelf.py
@@ -282,7 +282,7 @@ for rel in section.iter_relocations(): self._emitline('%s %s' % ( self._format_hex(rel['r_offset'], fullhex=True, lead0x=False), - self._format_hex(rel['r_info_raw'], fullhex=True, lead0x=False))) + self._format_hex(rel['r_info'], fullhex=True, lead0x=False))) #print rel, rel.entry if not has_relocation_sections: