]> git.ipfire.org Git - thirdparty/elfutils.git/log
thirdparty/elfutils.git
16 years agoXXX comment markers for reloc-sensitive interfaces
Roland McGrath [Mon, 20 Apr 2009 08:27:16 +0000 (01:27 -0700)] 
XXX comment markers for reloc-sensitive interfaces

16 years agoMerge commit 'origin/master' into dwarf
Roland McGrath [Thu, 16 Apr 2009 06:11:02 +0000 (23:11 -0700)] 
Merge commit 'origin/master' into dwarf

Conflicts:
libdw/ChangeLog
src/ChangeLog

16 years agoFix 32/64 CIE header format CIE_id matching.
Roland McGrath [Wed, 15 Apr 2009 21:47:13 +0000 (14:47 -0700)] 
Fix 32/64 CIE header format CIE_id matching.

16 years agoNominal ARM support.
Roland McGrath [Wed, 15 Apr 2009 01:44:45 +0000 (18:44 -0700)] 
Nominal ARM support.

16 years agoFix error message.
Roland McGrath [Tue, 14 Apr 2009 11:39:32 +0000 (04:39 -0700)] 
Fix error message.

16 years agoNEWS items for notable changes since 0.140
Roland McGrath [Tue, 14 Apr 2009 10:18:10 +0000 (03:18 -0700)] 
NEWS items for notable changes since 0.140

16 years agoFix RHBZ#494858: fix bad address checks in core file support.
Roland McGrath [Tue, 14 Apr 2009 09:38:19 +0000 (02:38 -0700)] 
Fix RHBZ#494858: fix bad address checks in core file support.

16 years agoFix strip -f infinite loop when coping with some extra kooky object sections.
Roland McGrath [Tue, 14 Apr 2009 08:02:17 +0000 (01:02 -0700)] 
Fix strip -f infinite loop when coping with some extra kooky object sections.

16 years agoMerge branch 'roland/getsym'
Roland McGrath [Mon, 13 Apr 2009 18:33:32 +0000 (11:33 -0700)] 
Merge branch 'roland/getsym'

16 years agodwarflint: Validate DW_AT_{low,high}_pc for consistent relocation
Petr Machata [Fri, 10 Apr 2009 13:42:08 +0000 (15:42 +0200)] 
dwarflint: Validate DW_AT_{low,high}_pc for consistent relocation

16 years agodwarflint: Move the check for consistent range relocation into a function
Petr Machata [Fri, 10 Apr 2009 13:41:36 +0000 (15:41 +0200)] 
dwarflint: Move the check for consistent range relocation into a function

16 years agodwarflint: Check that DW_AT_{low,high}_pc attributes have the right form ... so that...
Petr Machata [Fri, 10 Apr 2009 13:40:48 +0000 (15:40 +0200)] 
dwarflint: Check that DW_AT_{low,high}_pc attributes have the right form ... so that we know in which part of the code to validate their values

16 years agodwarflint: Simplify handling of ELF files in coverage analysis
Petr Machata [Fri, 10 Apr 2009 12:46:34 +0000 (14:46 +0200)] 
dwarflint: Simplify handling of ELF files in coverage analysis

16 years agodwarflint: Better way of handling relocations against executable sections
Petr Machata [Fri, 10 Apr 2009 11:57:33 +0000 (13:57 +0200)] 
dwarflint: Better way of handling relocations against executable sections

16 years agodwarflint: Simplify calling convention of layout_rel_file
Petr Machata [Fri, 10 Apr 2009 11:56:19 +0000 (13:56 +0200)] 
dwarflint: Simplify calling convention of layout_rel_file

16 years agodwarflint: Handle zero-length address ranges
Petr Machata [Wed, 8 Apr 2009 13:33:52 +0000 (15:33 +0200)] 
dwarflint: Handle zero-length address ranges

16 years agodwarflint: relocation of DW_LNE_set_address doesn't have to be against executable
Petr Machata [Wed, 8 Apr 2009 12:55:19 +0000 (14:55 +0200)] 
dwarflint: relocation of DW_LNE_set_address doesn't have to be against executable

16 years agodwarflint: Fix error condition
Petr Machata [Wed, 8 Apr 2009 12:54:00 +0000 (14:54 +0200)] 
dwarflint: Fix error condition

16 years agodwarflint: Better message when relocation is formed against unexpected section
Petr Machata [Wed, 8 Apr 2009 12:53:28 +0000 (14:53 +0200)] 
dwarflint: Better message when relocation is formed against unexpected section

16 years agodwarflint: Tolerate DW_AT_const_value with address form.
Petr Machata [Tue, 7 Apr 2009 15:56:55 +0000 (17:56 +0200)] 
dwarflint: Tolerate DW_AT_const_value with address form.

16 years agodwarflint: Ignore invalid relocations in relocation_next
Petr Machata [Tue, 7 Apr 2009 15:56:21 +0000 (17:56 +0200)] 
dwarflint: Ignore invalid relocations in relocation_next

16 years agodwarflint: Handle NONE relocations
Petr Machata [Tue, 7 Apr 2009 15:55:57 +0000 (17:55 +0200)] 
dwarflint: Handle NONE relocations

16 years agoSending translation for Spanish
elsupergomez [Thu, 9 Apr 2009 15:37:35 +0000 (15:37 +0000)] 
Sending translation for Spanish

16 years agoMake dwfl_module_getsym yield shndx -1 for any non-allocated section.
Roland McGrath [Thu, 9 Apr 2009 00:52:33 +0000 (17:52 -0700)] 
Make dwfl_module_getsym yield shndx -1 for any non-allocated section.

16 years agoFix double-adjust for ET_REL.
Roland McGrath [Thu, 9 Apr 2009 00:15:01 +0000 (17:15 -0700)] 
Fix double-adjust for ET_REL.

16 years agoMerge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Roland McGrath [Thu, 9 Apr 2009 00:07:03 +0000 (17:07 -0700)] 
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils

16 years agodwfl_module_getsym should not adjust symbols from non-SHF_ALLOC sections.
Roland McGrath [Thu, 9 Apr 2009 00:05:43 +0000 (17:05 -0700)] 
dwfl_module_getsym should not adjust symbols from non-SHF_ALLOC sections.

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Tue, 7 Apr 2009 12:35:02 +0000 (14:35 +0200)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

Conflicts:
src/Makefile.am

16 years agodwarflint: Layout sections of ET_REL files
Petr Machata [Mon, 6 Apr 2009 12:44:34 +0000 (14:44 +0200)] 
dwarflint: Layout sections of ET_REL files

* that's necessary for range overlap analysis.  In ET_REL files, sections
  are placed at address 0, so all ranges appear to overlap each other, plus
  some of these ranges seem to cross section boundaries.
* we can't use libdwfl to do the layout for us, because libdwfl does too
  many smart things behind the scenes, such as relocating the files.

16 years agodwarflint: Replace bitmap-based coverage analysis with range-based
Petr Machata [Thu, 2 Apr 2009 14:10:51 +0000 (16:10 +0200)] 
dwarflint: Replace bitmap-based coverage analysis with range-based

* doing that, move from begin/inclusive end model to begin/length model.
  Having inclusive end was a stupid decision that I wanted to fix for a
  month now.

16 years agoSending translation for po/de.po
tomspur [Sun, 5 Apr 2009 10:10:43 +0000 (10:10 +0000)] 
Sending translation for po/de.po

16 years agoSending translation for po/es.po
beckerde [Fri, 3 Apr 2009 00:00:14 +0000 (00:00 +0000)] 
Sending translation for po/es.po

16 years agoFix make dist nits.
Roland McGrath [Thu, 2 Apr 2009 20:36:54 +0000 (13:36 -0700)] 
Fix make dist nits.

16 years agoMerge commit 'origin/master' into dwarf
Roland McGrath [Thu, 2 Apr 2009 20:20:55 +0000 (13:20 -0700)] 
Merge commit 'origin/master' into dwarf

Conflicts:
libdw/ChangeLog

16 years agoUpdate elf.h and some tables; fill in sparc backend reloc table.
Roland McGrath [Thu, 2 Apr 2009 01:28:41 +0000 (18:28 -0700)] 
Update elf.h and some tables; fill in sparc backend reloc table.

16 years agoAdd DW_CFA_GNU_negative_offset_extended.
Roland McGrath [Wed, 1 Apr 2009 21:25:29 +0000 (14:25 -0700)] 
Add DW_CFA_GNU_negative_offset_extended.

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Wed, 1 Apr 2009 12:50:21 +0000 (14:50 +0200)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agodwarflint: adjust messages about RELA relocating place with non-zero value
Petr Machata [Wed, 1 Apr 2009 12:52:11 +0000 (14:52 +0200)] 
dwarflint: adjust messages about RELA relocating place with non-zero value

16 years agodwarflint: Drop unused parameter of read_die_chain and check_cu_structural
Petr Machata [Tue, 31 Mar 2009 08:46:46 +0000 (10:46 +0200)] 
dwarflint: Drop unused parameter of read_die_chain and check_cu_structural

16 years agodwarflint: DW_FORM_ref_addr doesn't have to be relocated
Petr Machata [Mon, 30 Mar 2009 17:43:46 +0000 (19:43 +0200)] 
dwarflint: DW_FORM_ref_addr doesn't have to be relocated

16 years agodwarflint: Change one error to message
Petr Machata [Mon, 30 Mar 2009 13:05:39 +0000 (15:05 +0200)] 
dwarflint: Change one error to message

16 years agodwarflint: More accurate ref in "abbrev has_children, but the chain was empty."
Petr Machata [Mon, 30 Mar 2009 13:04:44 +0000 (15:04 +0200)] 
dwarflint: More accurate ref in "abbrev has_children, but the chain was empty."

16 years agoConsolidate/clean-up xif->throw_libdw paths.
Roland McGrath [Mon, 30 Mar 2009 03:50:20 +0000 (20:50 -0700)] 
Consolidate/clean-up xif->throw_libdw paths.

16 years agoFix attrs that can be an expression block or a constant.
Roland McGrath [Mon, 30 Mar 2009 00:36:22 +0000 (17:36 -0700)] 
Fix attrs that can be an expression block or a constant.

16 years agodwarflint: Fix bug in coverage analysis
Petr Machata [Fri, 27 Mar 2009 15:43:42 +0000 (16:43 +0100)] 
dwarflint: Fix bug in coverage analysis

16 years agodwarflint: Support special formatting; add special class "CU DIE"
Petr Machata [Fri, 27 Mar 2009 15:43:01 +0000 (16:43 +0100)] 
dwarflint: Support special formatting; add special class "CU DIE"

* This is used in analysis of aranges, where CU DIE is referred to by
  decimal address (like CUs), not hexadecimal (like DIEs)

16 years agoProper dwarf_constant attr value support with name fetchers.
Roland McGrath [Thu, 26 Mar 2009 04:22:46 +0000 (21:22 -0700)] 
Proper dwarf_constant attr value support with name fetchers.

16 years agoFix initializer for dwarf::raw_attributes::end case.
Roland McGrath [Thu, 26 Mar 2009 02:30:57 +0000 (19:30 -0700)] 
Fix initializer for dwarf::raw_attributes::end case.

16 years ago<dwarf>: Don't swallow last attribute
Petr Machata [Thu, 26 Mar 2009 02:25:10 +0000 (19:25 -0700)] 
<dwarf>: Don't swallow last attribute

16 years agoAdd output limiting to dwarf-print test.
Roland McGrath [Thu, 26 Mar 2009 00:29:22 +0000 (17:29 -0700)] 
Add output limiting to dwarf-print test.

16 years agoMerge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Wed, 25 Mar 2009 12:55:33 +0000 (13:55 +0100)] 
Merge branch 'dwarf' of ssh://pmachata@git.fedorahosted.org/git/elfutils into dwarf

16 years agotemplate tweaks for known-dwarf.h lookup, new dwarf-print test program
Roland McGrath [Wed, 25 Mar 2009 03:02:32 +0000 (20:02 -0700)] 
template tweaks for known-dwarf.h lookup, new dwarf-print test program

16 years agoMove some generic stuff to subr.hh
Roland McGrath [Wed, 25 Mar 2009 02:09:20 +0000 (19:09 -0700)] 
Move some generic stuff to subr.hh

16 years agoClean up build hacks for libdw C++ code, still kludged but less so.
Roland McGrath [Tue, 24 Mar 2009 20:12:47 +0000 (13:12 -0700)] 
Clean up build hacks for libdw C++ code, still kludged but less so.

16 years agodwarflint: Suppress pubtypes messages even if we are not in GNU mode
Petr Machata [Tue, 24 Mar 2009 16:53:15 +0000 (17:53 +0100)] 
dwarflint: Suppress pubtypes messages even if we are not in GNU mode

16 years agodwarflint: Report "address range with no base address" for all impacted ranges
Petr Machata [Tue, 24 Mar 2009 16:51:48 +0000 (17:51 +0100)] 
dwarflint: Report "address range with no base address" for all impacted ranges

16 years agodwarflint: Fix computation of offset of abbreviation section address
Petr Machata [Tue, 24 Mar 2009 16:51:10 +0000 (17:51 +0100)] 
dwarflint: Fix computation of offset of abbreviation section address

16 years agodwarflint: Fix computation of offsets in location expressions
Petr Machata [Tue, 24 Mar 2009 16:50:14 +0000 (17:50 +0100)] 
dwarflint: Fix computation of offsets in location expressions

16 years agodwarflint: Width of DW_LNE_set_address depends on 64-bitness of target
Petr Machata [Mon, 23 Mar 2009 11:54:12 +0000 (12:54 +0100)] 
dwarflint: Width of DW_LNE_set_address depends on 64-bitness of target

16 years agodwarflint: Fix read_ctx_read_form, it returned false for DATA[124] forms
Petr Machata [Fri, 20 Mar 2009 17:28:41 +0000 (18:28 +0100)] 
dwarflint: Fix read_ctx_read_form, it returned false for DATA[124] forms

16 years agodwarflint: Only report "cause by this" messages when --ref is given
Petr Machata [Fri, 20 Mar 2009 17:03:49 +0000 (18:03 +0100)] 
dwarflint: Only report "cause by this" messages when --ref is given

16 years agodwarflint: Fix reporting of .debug_abbrev unnecessary padding offsets
Petr Machata [Fri, 20 Mar 2009 16:23:29 +0000 (17:23 +0100)] 
dwarflint: Fix reporting of .debug_abbrev unnecessary padding offsets

* ... so that it matches with values that eu-readelf reports for associated
  dummy empty section
* Also undo previous commit where I mis-fixed offset reporting

16 years agodwarflint: Fix handling of DW_LNE_end_sequence
Petr Machata [Fri, 20 Mar 2009 15:01:37 +0000 (16:01 +0100)] 
dwarflint: Fix handling of DW_LNE_end_sequence

16 years agodwarflint: Better handling of empty line programs
Petr Machata [Fri, 20 Mar 2009 14:26:07 +0000 (15:26 +0100)] 
dwarflint: Better handling of empty line programs

16 years agodwarflint: Fix reporting of .debug_line table address
Petr Machata [Fri, 20 Mar 2009 14:25:38 +0000 (15:25 +0100)] 
dwarflint: Fix reporting of .debug_line table address

16 years agodwarflint: Fix loading of opcode length table, check that opcode_base > 0
Petr Machata [Fri, 20 Mar 2009 13:57:23 +0000 (14:57 +0100)] 
dwarflint: Fix loading of opcode length table, check that opcode_base > 0

16 years agodwarflint: Fix coverage map endpoint computation
Petr Machata [Mon, 16 Mar 2009 16:41:20 +0000 (17:41 +0100)] 
dwarflint: Fix coverage map endpoint computation

16 years agodwarflint: Fix SEGV in marking invalid directory as used
Petr Machata [Mon, 16 Mar 2009 13:59:40 +0000 (14:59 +0100)] 
dwarflint: Fix SEGV in marking invalid directory as used

* Also tune displayed messages to sink mc_line | mc_header | mc_acc_bloat
  instead of mere mc_line | mc_header.

16 years agoFix 32-bit compilation
Petr Machata [Fri, 13 Mar 2009 13:27:17 +0000 (14:27 +0100)] 
Fix 32-bit compilation

16 years agodwarflint: When --nohl is given, don't run check_matching_ranges, but do run check_lo...
Petr Machata [Fri, 13 Mar 2009 13:07:07 +0000 (14:07 +0100)] 
dwarflint: When --nohl is given, don't run check_matching_ranges, but do run check_loc_or_range_structural

16 years agodwarflint: Be more descriptive about error in relocation type
Petr Machata [Thu, 12 Mar 2009 16:38:05 +0000 (17:38 +0100)] 
dwarflint: Be more descriptive about error in relocation type

16 years agodwarflint: More tools for message filtering
Petr Machata [Thu, 12 Mar 2009 13:50:23 +0000 (14:50 +0100)] 
dwarflint: More tools for message filtering

* also add rejection of messages that are mc_line && mc_header

16 years agodwarflint: Use a macro to initialize structures
Petr Machata [Thu, 12 Mar 2009 13:48:58 +0000 (14:48 +0100)] 
dwarflint: Use a macro to initialize structures

16 years ago__libdwfl_find_build_id optimization nit
Roland McGrath [Tue, 10 Mar 2009 03:49:53 +0000 (20:49 -0700)] 
__libdwfl_find_build_id optimization nit

16 years agoFix RHBZ#489439: dwfl_module_build_id yields wrong vaddr for prelinked DSO
Roland McGrath [Tue, 10 Mar 2009 03:42:56 +0000 (20:42 -0700)] 
Fix RHBZ#489439: dwfl_module_build_id yields wrong vaddr for prelinked DSO

16 years agodwarflint: Re-tag categories of some messages
Petr Machata [Thu, 5 Mar 2009 16:53:49 +0000 (17:53 +0100)] 
dwarflint: Re-tag categories of some messages

16 years agodwarflint: Better message filtering system
Petr Machata [Thu, 5 Mar 2009 16:22:45 +0000 (17:22 +0100)] 
dwarflint: Better message filtering system

16 years agodwarflint: fixes in reporting in check_line_structural
Petr Machata [Thu, 5 Mar 2009 16:13:38 +0000 (17:13 +0100)] 
dwarflint: fixes in reporting in check_line_structural

16 years agodwarflint: Improve error messages in check_read_[us]leb128
Petr Machata [Thu, 5 Mar 2009 16:12:50 +0000 (17:12 +0100)] 
dwarflint: Improve error messages in check_read_[us]leb128

16 years agodwarflint: Fix a buglet in wr_format_leb128_message
Petr Machata [Thu, 5 Mar 2009 12:23:31 +0000 (13:23 +0100)] 
dwarflint: Fix a buglet in wr_format_leb128_message

16 years agodwarflint: Add --nohl switch that turns off high-level checks
Petr Machata [Thu, 5 Mar 2009 12:13:38 +0000 (13:13 +0100)] 
dwarflint: Add --nohl switch that turns off high-level checks

16 years agodwarflint: Check references from .debug_info to .debug_line
Petr Machata [Wed, 4 Mar 2009 13:59:48 +0000 (14:59 +0100)] 
dwarflint: Check references from .debug_info to .debug_line

16 years agodwarflint: Fix the way wr_message_padding_n0 gets called
Petr Machata [Wed, 4 Mar 2009 13:47:27 +0000 (14:47 +0100)] 
dwarflint: Fix the way wr_message_padding_n0 gets called

* ... and check that each padding at the end of .debug_line tables

16 years agodwarflint: Check sub_ctx instead of ctx when deciding if header has overrun
Petr Machata [Wed, 4 Mar 2009 13:05:13 +0000 (14:05 +0100)] 
dwarflint: Check sub_ctx instead of ctx when deciding if header has overrun

16 years agodwarflint: Validate DW_AT_stmt_list and record references to .debug_line
Petr Machata [Tue, 3 Mar 2009 17:21:57 +0000 (18:21 +0100)] 
dwarflint: Validate DW_AT_stmt_list and record references to .debug_line

16 years agodwarflint: Describe the field that lacks a relocation
Petr Machata [Tue, 3 Mar 2009 15:12:11 +0000 (16:12 +0100)] 
dwarflint: Describe the field that lacks a relocation

16 years agodwarflint: Validate opcode stream in .debug_line
Petr Machata [Sat, 28 Feb 2009 13:58:16 +0000 (14:58 +0100)] 
dwarflint: Validate opcode stream in .debug_line

16 years agodwarflint: Keep whether the elf file is 64-bit in struct elf_file
Petr Machata [Sat, 28 Feb 2009 13:57:21 +0000 (14:57 +0100)] 
dwarflint: Keep whether the elf file is 64-bit in struct elf_file

16 years agodwarflint: Check for unused include directories in .debug_line
Petr Machata [Fri, 27 Feb 2009 20:59:21 +0000 (21:59 +0100)] 
dwarflint: Check for unused include directories in .debug_line

16 years agodwarflint: checking headers of .debug_line
Petr Machata [Fri, 27 Feb 2009 15:25:09 +0000 (16:25 +0100)] 
dwarflint: checking headers of .debug_line

16 years agodwarflint: rename wr_checked_read_sleb128 to checked_read_sleb128
Petr Machata [Fri, 27 Feb 2009 15:24:33 +0000 (16:24 +0100)] 
dwarflint: rename wr_checked_read_sleb128 to checked_read_sleb128

* Former name likely remainder from some mass-renaming

16 years agodwarflint: new function read_ctx_read_str
Petr Machata [Fri, 27 Feb 2009 15:23:48 +0000 (16:23 +0100)] 
dwarflint: new function read_ctx_read_str

16 years agorelocation_skip_rest only takes section_data parameter now
Petr Machata [Fri, 27 Feb 2009 13:37:22 +0000 (14:37 +0100)] 
relocation_skip_rest only takes section_data parameter now

* ... which fixes a buglet where check_pub_structural would claim that
  sec_pubnames should be used for relocation_skip_rest

16 years agoSimplify some code
Petr Machata [Fri, 27 Feb 2009 12:42:17 +0000 (13:42 +0100)] 
Simplify some code

16 years agoDrop read_ctx_read_version, implement supported_version instead
Petr Machata [Fri, 27 Feb 2009 12:41:16 +0000 (13:41 +0100)] 
Drop read_ctx_read_version, implement supported_version instead

16 years agoTrack containing DIE tag in C++ reader attr_value interface.
Roland McGrath [Fri, 27 Feb 2009 00:38:20 +0000 (16:38 -0800)] 
Track containing DIE tag in C++ reader attr_value interface.

16 years agoCatch exceptions around value space operations
Petr Machata [Wed, 25 Feb 2009 15:42:46 +0000 (16:42 +0100)] 
Catch exceptions around value space operations

16 years agoCheck for expected value space of attributes
Petr Machata [Wed, 25 Feb 2009 14:45:32 +0000 (15:45 +0100)] 
Check for expected value space of attributes

16 years agoMove expected_at_map to file of its own, drop acceptable_form
Petr Machata [Wed, 25 Feb 2009 14:44:58 +0000 (15:44 +0100)] 
Move expected_at_map to file of its own, drop acceptable_form

16 years agoAllow DW_AT_artificial at DW_TAG_variable
Petr Machata [Fri, 20 Feb 2009 16:32:38 +0000 (17:32 +0100)] 
Allow DW_AT_artificial at DW_TAG_variable