[PATCH v2 2/8] abg-elf-helpers: move some elf helpers from abg-dwarf-reader
Dodji Seketeli
dodji@seketeli.org
Wed Apr 22 09:44:45 GMT 2020
Matthias Maennich <maennich@google.com> a écrit:
> Move some definitions from abg-dwarf-reader to abg-elf-helpers that are
> strictly only related to ELF.
>
> * abg-dwarf-reader.cc(stt_to_elf_symbol_type): Move function out.
> (stb_to_elf_symbol_binding): Likewise.
> (stv_to_elf_symbol_visibility): Likewise.
> (e_machine_to_string): Likewise.
> (find_section): Likewise.
> (find_symbol_table_section): Likewise.
> (find_symbol_table_section_index): Likewise.
> (enum hash_table_kind): Likewise.
> (find_hash_table_section_index): Likewise.
> (get_symbol_versionning_sections): Likewise.
> (find_text_section): Likewise.
> (find_bss_section): Likewise.
> (find_rodata_section): Likewise.
> (find_data_section): Likewise.
> (find_data1_section): Likewise.
> * abg-elf-helpers.cc(stt_to_elf_symbol_type): Move function in.
> (stb_to_elf_symbol_binding): Likewise.
> (stv_to_elf_symbol_visibility): Likewise.
> (e_machine_to_string): Likewise.
> (find_section): Likewise.
> (find_symbol_table_section): Likewise.
> (find_symbol_table_section_index): Likewise.
> (enum hash_table_kind): Likewise.
> (find_hash_table_section_index): Likewise.
> (get_symbol_versionning_sections): Likewise.
> (find_text_section): Likewise.
> (find_bss_section): Likewise.
> (find_rodata_section): Likewise.
> (find_data_section): Likewise.
> (find_data1_section): Likewise.
> * abg-elf-helpers.h(stt_to_elf_symbol_type): Add declaration.
> (stb_to_elf_symbol_binding): Likewise.
> (stv_to_elf_symbol_visibility): Likewise.
> (e_machine_to_string): Likewise.
> (find_section): Likewise.
> (find_symbol_table_section): Likewise.
> (find_symbol_table_section_index): Likewise.
> (enum hash_table_kind): Likewise.
> (find_hash_table_section_index): Likewise.
> (get_symbol_versionning_sections): Likewise.
> (find_text_section): Likewise.
> (find_bss_section): Likewise.
> (find_rodata_section): Likewise.
> (find_data_section): Likewise.
> (find_data1_section): Likewise.
I have just tabified this ChangeLog, added a white space in e.g:
> * abg-dwarf-reader.cc(stt_to_elf_symbol_type): Move function out.
To make:
* abg-dwarf-reader.cc (stt_to_elf_symbol_type): Move function out.
Applying to master. Thanks!
Cheers,
--
Dodji
More information about the Libabigail
mailing list