]> sourceware.org Git - libabigail.git/commit
abg-elf-helpers: move some versioning helpers from abg-dwarf-reader
authorMatthias Maennich <maennich@google.com>
Tue, 21 Apr 2020 06:35:46 +0000 (08:35 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 22 Apr 2020 09:40:01 +0000 (11:40 +0200)
commit9815efe7a5be0287bc65178c385896ac90d12f6b
treee6c20b437f05bc9c6ace48052cb263e6eb785850
parentee83a9e17adc19914cca8659e8ed704af1f361f7
abg-elf-helpers: move some versioning helpers from abg-dwarf-reader

Move some definitions from abg-dwarf-reader to abg-elf-helpers that are
strictly only related to ELF.

* abg-dwarf-reader.cc (get_symbol_versionning_sections): Move function out.
(get_version_definition_for_versym): Likewise.
(get_version_needed_for_versym): Likewise.
(get_version_for_symbol): Likewise.
* abg-elf-helpers.cc (get_symbol_versionning_sections): Move function in.
(get_version_definition_for_versym): Likewise.
(get_version_needed_for_versym): Likewise.
(get_version_for_symbol): Likewise.
* abg-elf-helpers.h (get_symbol_versionning_sections): Add declaration.
(get_version_definition_for_versym): Likewise.
(get_version_needed_for_versym): Likewise.
(get_version_for_symbol): Likewise.

Reviewed-by: Giuliano Procida <gprocida@google.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-dwarf-reader.cc
src/abg-elf-helpers.cc
src/abg-elf-helpers.h
This page took 0.033886 seconds and 5 git commands to generate.