This update for dwarves and elfutils fixes the following issues:
elfutils was updated to version 0.177 (jsc#SLE-24501):
Update to version 0.176:
Update to version 0.175:
Update to version 0.174:
libelf, libdw and all tools now handle extended shnum and shstrndx correctly.
elfcompress: Don't rewrite input file if no section data needs updating. Try harder to keep same file mode bits (suid) on rewrite.
strip: Handle mixed (out of order) allocated/non-allocated sections.
unstrip: Handle SHT_GROUP sections.
backends: RISCV and M68K now have backend implementations to generate CFI based backtraces.
Fixes:
Update to version 0.173:
Update to version 0.172:
Update to version 0.171:
DWARF5 and split dwarf, including GNU DebugFission, are supported now. Data can be read from the new DWARF sections .debug_addr, .debug_line_str, .debug_loclists, .debug_str_offsets and .debug_rnglists. Plus the new DWARF5 and GNU DebugFission encodings of the existing .debug sections. Also in split DWARF .dwo (DWARF object) files. This support is mostly handled by existing functions (dwarf_getlocation*, dwarf_getsrclines, dwarf_ranges, dwarf_form*, etc.) now returning the data from the new sections and data formats. But some new functions have been added to more easily get information about skeleton and split compile units (dwarf_get_units and dwarf_cu_info), handle new attribute data (dwarf_getabbrevattr_data) and to keep references to Dwarf_Dies that might come from different sections or files (dwarf_die_addr_die).
Not yet supported are .dwp (Dwarf Package) and .sup (Dwarf Supplementary) files, the .debug_names index, the .debug_cu_index and .debug_tu_index sections. Only a single .debug_info (and .debug_types) section are currently handled.
readelf: Handle all new DWARF5 sections. --debug-dump=info+ will show split unit DIEs when found. --dwarf-skeleton can be used when inspecting a .dwo file. Recognizes GNU locviews with --debug-dump=loc.
libdw: New functions dwarf_die_addr_die, dwarf_get_units, dwarf_getabbrevattr_data and dwarf_cu_info. libdw will now try to resolve the alt file on first use of an alt attribute FORM when not set yet with dwarf_set_alt. dwarf_aggregate_size() now works with multi-dimensional arrays.
libdwfl: Use process_vm_readv when available instead of ptrace. backends: Add a RISC-V backend.
There were various improvements to build on Windows. The sha1 and md5 implementations have been removed, they weren't used.
Update to version 0.170:
Update to version 0.169:
dwarves is shipped new in version 1.22 to provide tooling for use by the Linux Kernel BTF verification framework.
{
"binaries": [
{
"dwarves": "1.22-150300.7.3.1",
"elfutils": "0.177-150300.11.3.1",
"libasm1": "0.177-150300.11.3.1",
"libdw1": "0.177-150300.11.3.1",
"libdwarves-devel": "1.22-150300.7.3.1",
"libdwarves1": "1.22-150300.7.3.1",
"libebl-plugins": "0.177-150300.11.3.1",
"libelf1": "0.177-150300.11.3.1"
}
]
}
{
"binaries": [
{
"dwarves": "1.22-150300.7.3.1",
"elfutils": "0.177-150300.11.3.1",
"libasm1": "0.177-150300.11.3.1",
"libdw1": "0.177-150300.11.3.1",
"libdwarves-devel": "1.22-150300.7.3.1",
"libdwarves1": "1.22-150300.7.3.1",
"libebl-plugins": "0.177-150300.11.3.1",
"libelf1": "0.177-150300.11.3.1"
}
]
}