B.3. Changes in elfutils

Red Hat Developer Toolset 4.1 is distributed with elfutils 0.166, which provides a number of bug fixes and feature enhancements over the version included in the previous release of Red Hat Developer Toolset. Below is a comprehensive list of new features in this release.

B.3.1. Changes Since Red Hat Developer Toolset 4.0

The following features have been added since the release of elfutils in Red Hat Developer Toolset 4.0:
  • Support for compressed ELF sections has been added.
    • A new utility, eu-elfcompress, is used to compress or decompress ELF sections. The eu-readelf utility now has a new option, -z or --decompress, to show compressed headers and data.
    • The libelf library now supports various new functions, including elf_compress, elf_compress_gnu, elf32_getchdr, elf64_getchdr, and gelf_getchdr.
    • The libdw library now supports a new function, dwelf_scn_gnu_compressed_size.
  • pkg-config files for the libelf and libdw libraries are now available.
  • The eu-strip and eu-unstrip tools are now capable of handling ELF files with merged strtab and shstrtab tables and handling missing SHF_INFO_LINK section flags.
  • The dwfl_standard_find_debuginfo function now searches subdirectories of the binary path under the debuginfo root when the separate debug file cannot be found by build-id.
  • The dwfl_linux_proc_attach function can now be called before any Dwfl_Modules have been reported.