From 3a1ccaf167d82bdd10d471a99fec916584ed7e24 Mon Sep 17 00:00:00 2001 From: Yann Rouillard Date: Wed, 29 May 2013 23:52:39 +0200 Subject: [PATCH] fix versions classes import in readelf --- scripts/readelf.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ( -- 2.30.2