elfutils 0.156 released

Jan Kratochvil jan.kratochvil at redhat.com
Thu Jul 25 12:32:26 UTC 2013


A new release of elfutils is available now at:
https://fedorahosted.org/releases/e/l/elfutils/0.156/


* NEWS *

Version 0.156

lib: New macro COMPAT_VERSION_NEWPROTO.

libdw: Handle GNU extension opcodes in dwarf_getlocation.

libdwfl: Fix STB_GLOBAL over STB_WEAK preference in dwfl_module_addrsym.
         Add minisymtab support.
         Add parameter add_p_vaddr to dwfl_report_elf.
         Use DT_DEBUG library search first.

libebl: Handle new core note types in EBL.

backends: Interpret NT_ARM_VFP.
          Implement core file registers parsing for s390/s390x.

readelf: Add --elf-section input option to inspect an embedded ELF file.
         Add -U, --unresolved-address-offsets output control.
         Add --debug-dump=decodedline support.
         Accept version 8 .gdb_index section format.
         Adjust output formatting width.
         When highpc is in constant form print it also as address.
         Display raw .debug_aranges. Use libdw only for decodedaranges.

elflint: Add __bss_start__ to the list of allowed symbols.

tests: Add configure --enable-valgrind option to run all tests under valgrind.
       Enable automake parallel-tests for make check.

translations: Updated Polish translation.

Updates for Automake 1.13.


* GIT SHORTLOG *

Adam Markey (1):
      Handle partial read or write.

David Abdurachmanov (1):
      ar.c (do_oper_delete): Fix num passed to memset.

Jan Kratochvil (30):
      Code cleanup: Simplify binary_search_fde.
      Fix DW_CFA_expression & co. CFA initial push.
      Fix error code from __libdw_find_fde.
      Fix uninitialized Dwarf_Frame->regs.
      Improve ELF symbols preference (global > weak).
      Fix bias for vDSOs from core files.
      readelf bitmap display fix.
      readelf.c: Use real output width.
      Fix ebl_abi_cfi error return value.
      Add __nonnull_attribute__ to dwfl_module_getelf.
      Fix bias for DSOs loaded from core file with build-id.
      Fix missing tests/ EXTRA_DIST for files by me.
      Code cleanup: Simplify __libdwfl_report_elf.
      Fix for PIE with both -e and --core in use.
      backends/arm_corenote.c Code cleanup.
      Implement reglocs for s390/s390x - readelf.
      Implement reglocs for s390/s390x.
      Fix 64-bit->32-bit vDSO reporting.
      Fix dwfl_report_elf BASE alignment.
      Unify {BE,LE}{32,64} in lib/system.h.
      New macro COMPAT_VERSION_NEWPROTO.
      Add parameter add_p_vaddr to dwfl_report_elf.
      Use DT_DEBUG library search first.
      NEWS: Add entries for Version 0.156.
      __libdwfl_find_elf_build_id: Add missing internal_function keyword.
      NEWS: Remove bugfix only entries from Version 0.156.
      Fix false match of non-build-id disk library to build-id memory library.
      __libdwfl_elf_address_range: Add missing internal_function keyword.
      Fix run-unstrip-n.sh regression on CentOS-5 ppc.
      Prepare 0.156 release.

Mark Wielaard (49):
      derelocate.c (find_section): Check next section exists before accessing it.
      cu.c (cudie_offset): Don't use type_sig8, it might not be initialized.
      Add configure --enable-valgrind option to run all tests under valgrind.
      readelf.c (print_ops): Ajust DW_OP_skip and DW_OP_bra targets calculation.
      Run valgrind tests with --run-libc-freeres=no.
      Add missing semicolon in show_symbols_sysv
      Fix two failure condition checks in libdwfl/linux-kernel-modules.c.
      Fix sig8_hash memory leak in libdw/dwarf_begin_elf.c on error.
      addr2line: Cleanup Dwfl when done.
      readelf: Adjust initial FDE address if pcrel before printing.
      readelf: Add --elf-section input option to inspect an embedded ELF file.
      libdwfl: Add minisymtab support.
      tests: readelf --elf-section, dwfl_module_addrsym and dwfl_module_getsym.
      libdwfl: Support auxiliary symbol table only for getsym and addrsym.
      readelf: Add base to offsets in format_dwarf_addr for debug_loc/ranges.
      readelf: Add -U, --unresolved-address-offsets output control.
      Add readelf test for --debug-dump=loc --debug-dump=ranges, -N and -U.
      backends: Check type DIE exists before calling dwarf_tag ().
      elflint: Add two more symbols to gnuld list of allowed bad values.
      libdwfl: Use actual file names in parse_opt failure cases.
      libdw: Handle FORM_GNU_strp_alt for files with string data only in dwz file.
      libdwfl: Try opening files all installed compression libraries.
      elflint.c (check_symtab): Add __bss_start__ to the list of allowed symbols.
      Fix two memory leaks in findtextrel and strip.
      libdw and libdwfl srcfiles and srclines fixes for partial_units.
      readelf: Accept version 8 .gdb_index section format.
      readelf: print_gdb_index_section fix memory leak.
      readelf: When highpc is in constant form also print as address.
      libdw: dwarf_getsrclines mark highest address as end_sequence.
      readelf: Display raw .debug_aranges. Use libdw only for decodedaranges.
      readelf: Add --debug-dump=decodedline support.
      libdw: DW_FORM_GNU_ref_alt is always offset_size.
      Updates for Automake 1.13.
      Enable automake parallel-tests for make check.
      libdwfl/link_map.c: #include system.h.
      tests: Add various files to tempfiles so they are always cleaned up.
      tests: All update tests should use unique temporary file names and cleanup.
      tests: Tests that override EXIT (0) trap need to cleanup themselves.
      tests: Don't use pushd or popd, just use cd to change working directory.
      libdw: dwarf_getsrclines don't set end_sequence when there are no lines.
      readelf: Format first DW_OP_GNU_implicit_pointer argument as DIE offset.
      libdwfl: link_map.c (report_r_debug) always release memory_callback buffer.
      tests EXTRA_DIST typo, forgot extension in testfilenolines.bz2.
      libdw_visit_scopes: Don't recurse into imported unit children.
      getcfi_scn_eh_frame: Don't crash and burn when .eh_frame bits aren't there.
      Don't assert on mod->e_type in __libdwfl_relocate_value.
      libdw. Don't blow up stack in dwarf_getsrclines with lots of lines.
      readelf: print actual DW_OP_GNU_parameter_ref DIE offset.
      readelf: print actual DIE offsets of DW_OP_GNU_<type> ops.

Petr Machata (9):
      Update elf.h from glibc.
      Handle new core note types in EBL
      Add allregs test for ARM back end
      Change FPREGSET_SIZE in ARM backend to 116 to match sizeof struct user_fp
      Test elfutils output of VMCOREINFO note.
      Add back end code for interpreting NT_ARM_VFP core note.
      In mixed core notes, don't let handle_core_item repeat.
      Test elfutils output of a mixed core note.
      Handle GNU extension opcodes in dwarf_getlocation

Piotr Drąg (1):
      Updated Polish translation.

Roland McGrath (8):
      Merge branch 'jankratochvil/vdso-bias'
      Robustify makefile redirection use.
      Missing ChangeLog entry from last commit.
      nm: Fix size passed to snprintf for invalid sh_name case.
      elf_getarsym: Use memcpy instead of pointer dereference so as not to assume the field is naturally aligned.
      elf_getarsym: Handle unaligned data in archive index.
      dwfl_link_map_report: Handle unaligned auxv data.
      Make run-prelink-addr-test.sh robust in its use of ln.


More information about the elfutils-devel mailing list