From: Eli Bendersky Date: Fri, 23 Sep 2011 14:14:08 +0000 (+0300) Subject: * added new test file - an object compiled from C++, on x64 X-Git-Tag: v0.10~92 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6434a966bced70ac26871ef378ee5fd7929fa0f9;p=pyelftools.git * added new test file - an object compiled from C++, on x64 * adjusted readelf to limit width of symbol names in relocation dump --- diff --git a/scripts/readelf.py b/scripts/readelf.py index d90b5bf..d103643 100755 --- a/scripts/readelf.py +++ b/scripts/readelf.py @@ -309,7 +309,7 @@ class ReadElf(object): symbol_name = symsec.name else: symbol_name = symbol.name - self._emit(' %s %s%s' % ( + self._emit(' %s %s%22.22s' % ( self._format_hex( symbol['st_value'], fullhex=True, lead0x=False), diff --git a/tests/testfiles/penalty_64.o.elf b/tests/testfiles/penalty_64.o.elf new file mode 100644 index 0000000..aca100b Binary files /dev/null and b/tests/testfiles/penalty_64.o.elf differ