Red Hat Developer Toolset 2.0 is distributed with elfutils 0.155, which provides a number of bug fixes and feature enhancements over the Red Hat Enterprise Linux system version and the version included in Red Hat Developer Toolset 1.1. Below is a comprehensive list of new features in this release.
The following features have been added since the release of elfutils included in Red Hat Developer Toolset 1.1:
- In the
libdwlibrary, theDW_LANG_Objcconstant has been correctly renamed toDW_LANG_ObjC. Note that any existing source code that uses the old name needs to be updated accordingly. - The
libdwlibrary now supports new constantsDW_ATE_UTFandDW_OP_GNU_parameter_ref. In addition, it also defines a family of constants to support the.debug_macrosection, namelyDW_MACRO_GNU_define,DW_MACRO_GNU_undef,DW_MACRO_GNU_start_file,DW_MACRO_GNU_end_file,DW_MACRO_GNU_define_indirect,DW_MACRO_GNU_undef_indirect, andDW_MACRO_GNU_transparent_include. - When working with the
libelflibrary, bothelf32_xlatetomdandelf64_xlatetomdnow work for cross-endian ELF note data. - The
elf_getshdr()function provided by thelibelflibrary has been corrected to work consistently on non-mmapped ELF files after making theelf_cntl(ELF_C_FDREAD)function call. - The
libelflibrary now supportsararchives with a 64-bit symbol table. - The
eu-readelfcommand is now able to display the contents of the.debug_macrosection. - The
eu-readelfcommand now correctly recognizes theDW_OP_GNU_parameter_refDWARF GNU extension opcode in location expressions.
The following features have been added since the release of elfutils included in Red Hat Enterprise Linux 6.4:
- The
libdwlibrary now handles compressed debuginfo sections. Thedwarf_highpc()function now handles the DWARF 4DW_AT_high_pcconstant form.
In addition to the above changes, the following features have been added since the release of elfutils included in Red Hat Enterprise Linux 5.9:
- DWARF 4 is now supported. As well, support for
DW_OP_GNU_implicit_pointerandSTB_GNU_UNIQUEhas been added. - The
libdwfllibrary now supports automatic decompression of files compressed withgzip,bzip2andlzma, and of Linux kernel images made withgzip,bzip2orlzma. Files named with compression suffixes are searched for Linux kernel images. Core file support was improved. Support has been added for decoding DWARF CFI into location description form. Support has been added for some new DWARF 3 expression operations, which were previously omitted. A new function,dwfl_dwarf_line(), has been added. - The
libdwlibrary now has new functionsdwarf_next_unit(),dwarf_offdie_types(),dwarf_lineisa(),dwarf_linediscriminator(),dwarf_lineop_index(),dwarf_getlocation_implicit_pointer(), anddwarf_aggregate_size(). - The
libelflibrary now supports using more than 65536 program headers in a file. In addition, a new functionelf_getphdrnum()has been added. libcpuIntel SSE4 disassembler support has been added.