From: Yann Rouillard Date: Fri, 31 May 2013 20:37:05 +0000 (+0200) Subject: rename some methods to be more consistent X-Git-Tag: v0.22~38 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f924da30d9a1a5073374449244551316bbfbcb5a;p=pyelftools.git rename some methods to be more consistent --- diff --git a/elftools/elf/structs.py b/elftools/elf/structs.py index fba2503..0862400 100644 --- a/elftools/elf/structs.py +++ b/elftools/elf/structs.py @@ -74,9 +74,9 @@ class ELFStructs(object): self._create_rel() self._create_dyn() self._create_sunw_syminfo() - self._create_version_needed() - self._create_version_definition() - self._create_version_symbol() + self._create_gnu_verneed() + self._create_gnu_verdef() + self._create_gnu_versym() def _create_ehdr(self): self.Elf_Ehdr = Struct('Elf_Ehdr', @@ -213,7 +213,7 @@ class ELFStructs(object): self.Elf_half('si_flags'), ) - def _create_version_needed(self): + def _create_gnu_verneed(self): # Structure of "version needed" entries is documented in # Oracle "Linker and Libraries Guide", Chapter 7 Object File Format self.Elf_Verneed = Struct('Elf_Verneed', @@ -231,7 +231,7 @@ class ELFStructs(object): self.Elf_word('vna_next'), ) - def _create_version_definition(self): + def _create_gnu_verdef(self): # Structure off "version definition" entries are documented in # Oracle "Linker and Libraries Guide", Chapter 7 Object File Format self.Elf_Verdef = Struct('Elf_Verdef', @@ -248,7 +248,7 @@ class ELFStructs(object): self.Elf_word('vda_next'), ) - def _create_version_symbol(self): + def _create_gnu_versym(self): # Structure off "version symbol" entries are documented in # Oracle "Linker and Libraries Guide", Chapter 7 Object File Format self.Elf_Versym = Struct('Elf_Versym',