From: Yann Rouillard Date: Wed, 29 May 2013 21:52:39 +0000 (+0200) Subject: fix versions classes import in readelf X-Git-Tag: v0.22~43 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a1ccaf167d82bdd10d471a99fec916584ed7e24;p=pyelftools.git fix versions classes import in readelf --- diff --git a/scripts/readelf.py b/scripts/readelf.py index 91937cc..e516b66 100755 --- a/scripts/readelf.py +++ b/scripts/readelf.py @@ -24,9 +24,10 @@ from elftools.elf.elffile import ELFFile from elftools.elf.dynamic import DynamicSection, DynamicSegment from elftools.elf.enums import ENUM_D_TAG from elftools.elf.segments import InterpSegment -from elftools.elf.sections import ( - SymbolTableSection, GNUVerSymTableSection, - GNUVerDefTableSection, GNUVerNeedTableSection, +from elftools.elf.sections import SymbolTableSection +from elftools.elf.gnuversions import ( + GNUVerSymTableSection, GNUVerDefTableSection, + GNUVerNeedTableSection, ) from elftools.elf.relocation import RelocationSection from elftools.elf.descriptions import (