[PATCH] libelf: There is just one ELF version.

Mark Wielaard mark@klomp.org
Thu Feb 28 21:44:00 GMT 2019


On Sun, Feb 24, 2019 at 06:07:17PM +0100, Mark Wielaard wrote:
> Remove (partially defined out) code and data structures dealing with
> multiple ELF versions. There hasn't been a new ELF version in the
> last 20 years. Simplify the code a bit by just assuming there will
> only be one version (EV_CURRENT == 1).
> 
> Simplifies elf_version, gets rid of __libelf_version_initialized.
> Removes one (or more) array (version) dimension from various tables
> and accessor functions (__elf_xfctstom, shtype_map, __libelf_data_type,
> __libelf_type_aligns and __libelf_type_sizes).

Pushed to master.



More information about the Elfutils-devel mailing list