]>
git.ipfire.org Git - thirdparty/elfutils.git/log
Petr Machata [Tue, 8 Mar 2011 18:20:03 +0000 (19:20 +0100)]
dwarflint: Put the --dump-offsets option to the right group
Petr Machata [Tue, 8 Mar 2011 17:53:22 +0000 (18:53 +0100)]
dwarflint: Fix iteration over low-level attributes
- this to allow (certainly bogus, but anyway) attribute name == 0
- test case that triggers this
Petr Machata [Mon, 7 Mar 2011 16:30:15 +0000 (17:30 +0100)]
dwarflint: Fail low-level cases if toplevel CU DIE has wrong tag
Petr Machata [Mon, 7 Mar 2011 14:57:38 +0000 (15:57 +0100)]
dwarflint: Check that the name of relocated section is valid
Petr Machata [Mon, 7 Mar 2011 13:21:18 +0000 (14:21 +0100)]
dwarflint: More thorough checking of Dw4Ch7.5 (toplevel CU DIE)
Petr Machata [Mon, 7 Mar 2011 12:35:53 +0000 (13:35 +0100)]
dwarflint: Rename readctx.{c,h} to .{cc,hh}
- I had something in mind that needed the C++ bits from the rest of
dwarflint, but that turned out to be too convoluted to be practical
Petr Machata [Mon, 7 Mar 2011 07:04:34 +0000 (08:04 +0100)]
dwarflint: A note in TODO
Petr Machata [Mon, 7 Mar 2011 07:04:23 +0000 (08:04 +0100)]
dwarflint: Add Mark's test case for the previous commit
Petr Machata [Mon, 7 Mar 2011 07:04:02 +0000 (08:04 +0100)]
dwarflint: Check for excess DIEs on top level
Petr Machata [Mon, 7 Mar 2011 06:59:55 +0000 (07:59 +0100)]
dwarflint: Drop useless variable prev_abbrev in check_debug_info
Petr Machata [Fri, 4 Mar 2011 20:28:40 +0000 (21:28 +0100)]
dwarflint: Publish the option --dump-offsets
- must have been forgotten
- and one coding style nit
Petr Machata [Thu, 3 Mar 2011 16:47:54 +0000 (17:47 +0100)]
dwarflint: Add Mark's test cases
Petr Machata [Thu, 3 Mar 2011 16:02:47 +0000 (17:02 +0100)]
dwarflint: Be lazy when looking into CU headers for check_debug_abbrev
- And so don't complain that we have no headers in cases where we have
no abbrevs either.
- Also consider no abbrevs a message, not an error
- Add a test case for the same
Petr Machata [Thu, 3 Mar 2011 13:24:27 +0000 (14:24 +0100)]
dwarflint: Fix all-dies-it
- Account for the case that die.has_children and at the same time
die.children().begin() == die.children().end()
- Change the algorithm to iterate DIEs acually in pre-order
- Add a test case
Petr Machata [Wed, 2 Mar 2011 20:32:38 +0000 (21:32 +0100)]
dwarflint: Fail check_debug_info test if serious error turns up
- All the tracking was in place, we just forgot to actually throw the
exception in the end.
Petr Machata [Tue, 1 Mar 2011 16:54:54 +0000 (17:54 +0100)]
dwarflint: Check that the relocation is formed using a defined symbol
Petr Machata [Tue, 1 Mar 2011 16:48:37 +0000 (17:48 +0100)]
dwarflint: More checks on invalid section indices in relocations
Petr Machata [Tue, 1 Mar 2011 12:56:27 +0000 (13:56 +0100)]
dwarflint: Extract the relocation logic itself to a function
Petr Machata [Tue, 1 Mar 2011 11:43:11 +0000 (12:43 +0100)]
Fix handling of invalid relocs
Petr Machata [Fri, 25 Feb 2011 18:21:30 +0000 (19:21 +0100)]
Nits
Petr Machata [Fri, 25 Feb 2011 18:14:13 +0000 (19:14 +0100)]
Get rid of pri::locexpr_opcode
Petr Machata [Fri, 25 Feb 2011 14:25:16 +0000 (15:25 +0100)]
Drop pri::form
Petr Machata [Fri, 25 Feb 2011 14:19:54 +0000 (15:19 +0100)]
Drop pri::tag, pri::attr
- dwarf::tags::name, dwarf::attributes::name should be used instead
Petr Machata [Fri, 25 Feb 2011 14:06:14 +0000 (15:06 +0100)]
Use dwarf::{attributes,tags}::name instead of dwarf_{attr,tag}_string
Petr Machata [Fri, 25 Feb 2011 13:39:41 +0000 (14:39 +0100)]
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Mark Wielaard [Wed, 23 Feb 2011 22:06:20 +0000 (23:06 +0100)]
tests/run-dwarfcmp-self.sh dwarflint is in its own directory now.
Mark Wielaard [Fri, 25 Feb 2011 12:45:14 +0000 (13:45 +0100)]
Don't use dwarf_tag_string, but dwarf::tags::name for dwarf_edit_output test.
Mark Wielaard [Fri, 25 Feb 2011 12:04:21 +0000 (13:04 +0100)]
Merge over dwarf string fixes from readelf master to dwarfstrings.
* src/dwarfstrings.c (dwarf_tag_string): Add type_unit,
rvalue_reference_type and template_alias.
(dwarf_tag_string): Add GNU_* tags.
(dwarf_attr_string): Add signature, main_subprogram, const_expr
and enum_class.
Petr Machata [Fri, 25 Feb 2011 11:05:16 +0000 (12:05 +0100)]
Adjust location_attribute::const_iterator to changes in range_list iterator
Petr Machata [Fri, 25 Feb 2011 11:13:53 +0000 (12:13 +0100)]
Use __libdw_formptr in ranges iterator
Roland McGrath [Thu, 24 Feb 2011 23:33:47 +0000 (15:33 -0800)]
Temporarily export __libdw_formptr for use by C++ code.
Roland McGrath [Thu, 24 Feb 2011 23:25:43 +0000 (15:25 -0800)]
Make libdwP.h internal declarations C++-compatible.
Roland McGrath [Thu, 24 Feb 2011 23:11:58 +0000 (15:11 -0800)]
Fix dwarf_path_finder::jump for the general case.
Roland McGrath [Thu, 24 Feb 2011 22:40:44 +0000 (14:40 -0800)]
Put the slow dwarfcmp tests last.
Petr Machata [Wed, 23 Feb 2011 21:56:45 +0000 (22:56 +0100)]
Handle DW_AT_linkage_name in dwarf_attr_string and dwarf-knowledge
Petr Machata [Wed, 23 Feb 2011 20:55:32 +0000 (21:55 +0100)]
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Wed, 23 Feb 2011 20:52:44 +0000 (21:52 +0100)]
dwarflint: Allow per-form configuration of CU bitness where form may appear
Petr Machata [Wed, 23 Feb 2011 20:31:14 +0000 (21:31 +0100)]
dwarflint: DW_AT_GNU_odr_signature is 8-byte constant
- make dwarf_version::form_allowed virtual. Override in dwarf_gnu to
force the right exact
Petr Machata [Wed, 23 Feb 2011 19:44:34 +0000 (20:44 +0100)]
dwarflint: form::width takes cu_head, not cu argument
- also the argument may be NULL, in which case the width may end up being
fw_unknown
Roland McGrath [Wed, 23 Feb 2011 18:54:30 +0000 (10:54 -0800)]
Add DW_AT_GNU_odr_signature expected value space.
Petr Machata [Wed, 23 Feb 2011 16:20:01 +0000 (17:20 +0100)]
Add license boilerplate to src/dwarfstrings.*
- took the boilerplate from readelf.c, since that's where the code
originated
Petr Machata [Wed, 23 Feb 2011 16:12:58 +0000 (17:12 +0100)]
Don't emit two error messages for invalid attribute form
- and add space to "complain" error message
Petr Machata [Wed, 23 Feb 2011 16:00:35 +0000 (17:00 +0100)]
Add DW_AT_GNU_* to dwarf_attr_string
Roland McGrath [Fri, 18 Feb 2011 22:59:21 +0000 (14:59 -0800)]
Revamp dwarf_path_finder, should be more efficient.
Roland McGrath [Tue, 15 Feb 2011 17:34:08 +0000 (09:34 -0800)]
Merge commit 'elfutils-0.152' into dwarf
Ulrich Drepper [Tue, 15 Feb 2011 14:36:26 +0000 (09:36 -0500)]
Prepare 0.152 release.
raven [Sun, 13 Feb 2011 15:25:49 +0000 (15:25 +0000)]
l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
yurchor [Sat, 12 Feb 2011 11:37:27 +0000 (11:37 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Roland McGrath [Fri, 11 Feb 2011 20:38:36 +0000 (12:38 -0800)]
NEWS item for last change
Roland McGrath [Fri, 11 Feb 2011 20:29:45 +0000 (12:29 -0800)]
libdwfl: Search for Linux kernel binaries with compression file name suffixes.
Roland McGrath [Fri, 11 Feb 2011 18:42:45 +0000 (10:42 -0800)]
elfcmp: Add --l/--verbose flag.
Roland McGrath [Fri, 11 Feb 2011 18:32:30 +0000 (10:32 -0800)]
elfcmp: Add --ignore-build-id flag.
Roland McGrath [Wed, 9 Feb 2011 03:48:42 +0000 (19:48 -0800)]
ldscript: Remove unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:48:02 +0000 (19:48 -0800)]
unstrip: Remove unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:46:50 +0000 (19:46 -0800)]
elflint: Remove unused variables.
Roland McGrath [Wed, 9 Feb 2011 03:45:26 +0000 (19:45 -0800)]
elflint: Warn about missing xndx section only once.
Roland McGrath [Wed, 9 Feb 2011 03:45:12 +0000 (19:45 -0800)]
ld: Remove an unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:40:19 +0000 (19:40 -0800)]
0.152 NEWS item for nit fixes.
Roland McGrath [Wed, 9 Feb 2011 03:36:50 +0000 (19:36 -0800)]
Use AC_LANG_SOURCE.
Roland McGrath [Wed, 9 Feb 2011 02:59:04 +0000 (18:59 -0800)]
Remove obsolete ALL_LINGUAS variable from configure.
Roland McGrath [Tue, 8 Feb 2011 19:20:49 +0000 (11:20 -0800)]
libasm: Remove an unused variable.
Roland McGrath [Thu, 3 Feb 2011 01:24:53 +0000 (17:24 -0800)]
0.152 NEWS item for latest libdwfl prelink fix
Josh Stone [Thu, 3 Feb 2011 00:30:01 +0000 (16:30 -0800)]
run-prelink-addr-test.sh: Add a .dynbss+.bss prelink split
Roland McGrath [Wed, 2 Feb 2011 03:06:21 +0000 (19:06 -0800)]
libdwfl: Use the section-end address as the synchronization point, rather than sh_addr.
Roland McGrath [Wed, 2 Feb 2011 00:58:32 +0000 (16:58 -0800)]
libdwfl: Discover PT_INTERP p_vaddr separately from main phdrs and undo phdrs.
Roland McGrath [Wed, 2 Feb 2011 00:09:43 +0000 (16:09 -0800)]
libdwfl: Fix prelink address_sync to find 64-bit PT_INTERP.
raven [Thu, 13 Jan 2011 11:20:58 +0000 (11:20 +0000)]
l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
yurchor [Thu, 13 Jan 2011 06:05:38 +0000 (06:05 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Roland McGrath [Thu, 13 Jan 2011 00:19:19 +0000 (16:19 -0800)]
Merge commit 'elfutils-0.151' into dwarf
Conflicts:
tests/Makefile.am
Ulrich Drepper [Wed, 12 Jan 2011 23:07:24 +0000 (18:07 -0500)]
Prepare 0.151 release.
Roland McGrath [Wed, 12 Jan 2011 18:49:40 +0000 (10:49 -0800)]
Undo last change for data-only tests, so we test PT_DYNAMIC digging too.
Roland McGrath [Wed, 12 Jan 2011 18:43:32 +0000 (10:43 -0800)]
run-prelink-addr-test.sh: Make symlinks to find .debug files corresponding to noshdrs files.
Josh Stone [Wed, 12 Jan 2011 03:16:59 +0000 (19:16 -0800)]
Add data-only prelink tests
Josh Stone [Wed, 12 Jan 2011 03:16:58 +0000 (19:16 -0800)]
Expand testfile53 for 32/64-bit
Josh Stone [Wed, 12 Jan 2011 03:16:57 +0000 (19:16 -0800)]
Expand testfile52 for 32/64-bit and stripped headers
Roland McGrath [Tue, 11 Jan 2011 18:33:32 +0000 (10:33 -0800)]
NEWS items for 0.151
Roland McGrath [Tue, 11 Jan 2011 18:17:01 +0000 (10:17 -0800)]
libdwfl: Rejigger address synchronization using .gnu.prelink_undo information.
Josh Stone [Tue, 11 Jan 2011 05:28:46 +0000 (21:28 -0800)]
Test cases for libdwfl vs prelink.
elsupergomez [Mon, 10 Jan 2011 18:18:12 +0000 (18:18 +0000)]
l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
raven [Sat, 8 Jan 2011 07:50:15 +0000 (07:50 +0000)]
l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
yurchor [Sat, 8 Jan 2011 07:48:03 +0000 (07:48 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
Roland McGrath [Thu, 6 Jan 2011 20:14:43 +0000 (12:14 -0800)]
strip: Remove all excess for --strip-sections.
Roland McGrath [Wed, 5 Jan 2011 03:29:53 +0000 (19:29 -0800)]
libdwfl: Enhance address_sync calculation to handle more prelink permutations.
Roland McGrath [Wed, 5 Jan 2011 03:29:24 +0000 (19:29 -0800)]
strip: Add --strip-sections option.
Jan Kratochvil [Wed, 5 Jan 2011 09:06:21 +0000 (10:06 +0100)]
Fix off64_t overflow when MAXIMUM_SIZE == ~0.
Mark Wielaard [Thu, 9 Dec 2010 12:03:56 +0000 (13:03 +0100)]
Fix up run-dwarf-attributes.sh test after removal dwarf::directory_table.
Commit b0a30d removed directory_table as distinct item from line_info_table.
Petr Machata [Tue, 7 Dec 2010 12:12:19 +0000 (13:12 +0100)]
Turn on the sharing_stack
Petr Machata [Mon, 6 Dec 2010 20:37:02 +0000 (21:37 +0100)]
Plug a leak in sharing_stack
Mark Wielaard [Wed, 1 Dec 2010 09:42:35 +0000 (10:42 +0100)]
Nitpick, don't use = initializers for class objects in dwarf_edit.
Roland McGrath [Wed, 1 Dec 2010 01:39:55 +0000 (17:39 -0800)]
dwfl_module_relocations: Remove over-eager assert.
Roland McGrath [Wed, 1 Dec 2010 01:35:02 +0000 (17:35 -0800)]
Fix copyright years syntax.
Roland McGrath [Wed, 1 Dec 2010 01:16:09 +0000 (17:16 -0800)]
Remove directory_table/include_directories as distinct item from line_info_table.
Mark Wielaard [Wed, 24 Nov 2010 15:32:40 +0000 (16:32 +0100)]
Define struct die_info inside class dwarf_output.
g++ 4.5 corrected arg-dep lookup to include template args in the list of
associated classes. This prevented some usage of the die_info_pair
typedef std::pair<const debug_info_entry, die_info>. Because struct die_info
was declared outside the dwarf_output class. Declaring it inside the class
dwarf_output itself makes it visible for the lookup again.
Mark Wielaard [Wed, 24 Nov 2010 13:03:20 +0000 (14:03 +0100)]
Rename check struct to check_die_attr because it shadowed a member of 'this'.
Mark Wielaard [Wed, 24 Nov 2010 10:55:35 +0000 (11:55 +0100)]
Use local, not temporary, when using swap ().
g++ 4.5 now detects that swap wants a reference as argument. You cannot
use a temporary, which is an lvalue and so cannot be used as reference.
The lifetime of the temporary cannot be guaranteed, and so because it isn't
const, g++ refuses to use it as reference.
Mark Wielaard [Thu, 25 Nov 2010 13:02:44 +0000 (14:02 +0100)]
Don't call c++ constructors directly by name.
g++ 4.5 doesn't like to call constructors by name directly.
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#147
Mark Wielaard [Thu, 25 Nov 2010 12:34:46 +0000 (13:34 +0100)]
Rename class [raw_]compile_units to [raw_]compile_units_type.
We have both functions and classes named compile_units. This can be
confusing to (newer) g++ compilers. Keep the function names the same,
but rename the the classes to compile_units_type.
Roland McGrath [Tue, 23 Nov 2010 22:11:29 +0000 (14:11 -0800)]
Merge commit 'elfutils-0.150' into dwarf
Ulrich Drepper [Tue, 23 Nov 2010 03:15:35 +0000 (22:15 -0500)]
elfutils 0.150 release preparation
Roland McGrath [Tue, 23 Nov 2010 01:35:56 +0000 (17:35 -0800)]
0.150 NEWS items