]>
git.ipfire.org Git - thirdparty/elfutils.git/log
Mark Wielaard [Fri, 25 Feb 2011 12:50:10 +0000 (13:50 +0100)]
Merge branch 'dwarf' into mjw/dwarf_output
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.
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.
Mark Wielaard [Thu, 24 Feb 2011 15:00:17 +0000 (16:00 +0100)]
Merge branch 'master' into mjw/dwarf_output
Conflicts:
libdw/ChangeLog
src/readelf.c
Mark Wielaard [Thu, 24 Feb 2011 14:55:41 +0000 (15:55 +0100)]
Merge branch 'dwarf' into mjw/dwarf_output
Roland McGrath [Thu, 24 Feb 2011 03:52:46 +0000 (19:52 -0800)]
Support reading .zdebug_* DWARF sections compressed via zlib.
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.
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
Mark Wielaard [Wed, 23 Feb 2011 19:30:09 +0000 (20:30 +0100)]
Merge branch 'dwarf' into mjw/dwarf_output
Mark Wielaard [Wed, 23 Feb 2011 18:59:41 +0000 (19:59 +0100)]
We relied on the *info () hack in dwarf_output, so put it back for now.
Roland McGrath [Wed, 23 Feb 2011 18:54:30 +0000 (10:54 -0800)]
Add DW_AT_GNU_odr_signature expected value space.
Mark Wielaard [Wed, 23 Feb 2011 18:40:06 +0000 (19:40 +0100)]
Merge branch 'dwarf' into mjw/dwarf_output
Mark Wielaard [Wed, 23 Feb 2011 18:39:31 +0000 (19:39 +0100)]
Revert "debugging hacks, not to be merged"
This reverts commit
1a148b60eb17f9f5d8b131dc9953b6665c2e748d .
Roland McGrath [Wed, 23 Feb 2011 17:23:08 +0000 (09:23 -0800)]
Handle DW_AT_GNU_odr_signature in readelf.
Mark Wielaard [Wed, 23 Feb 2011 16:26:09 +0000 (17:26 +0100)]
DW_AT_*_file is allowed to be zero, meaning "no file".
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
Mark Wielaard [Mon, 21 Feb 2011 15:58:26 +0000 (16:58 +0100)]
Workaround weird (buggy) self referential DW_AT_containing_type case.
https://fedorahosted.org/pipermail/elfutils-devel/2011-February/001792.html
Mark Wielaard [Mon, 21 Feb 2011 14:21:51 +0000 (15:21 +0100)]
Add reference chain cycle detection.
Mark Wielaard [Fri, 18 Feb 2011 19:16:03 +0000 (20:16 +0100)]
Calculate reference hash before finalizing, store in die_info.
Follows whole reference chain (ignoring children) and combines
local references of all dies found. Reduces number of attr_set
collisions a lot. Unfortunately there are circular reference
chains for some larger c++ programs. That was unexpected.
Needs cycle detection to figure out what is going on.
Mark Wielaard [Fri, 18 Feb 2011 10:03:52 +0000 (11:03 +0100)]
Add get_die_info to references, use for hash calculation.
Mark Wielaard [Fri, 18 Feb 2011 08:58:28 +0000 (09:58 +0100)]
Never recalculate local hash, always reuse die_info stored one.
Roland McGrath [Fri, 18 Feb 2011 22:59:21 +0000 (14:59 -0800)]
Revamp dwarf_path_finder, should be more efficient.
Mark Wielaard [Wed, 16 Feb 2011 17:42:29 +0000 (18:42 +0100)]
Fetch local hash from pending or finalized entry die. Use it in attr_value.
Mark Wielaard [Wed, 16 Feb 2011 08:14:23 +0000 (09:14 +0100)]
Don't finalize entries on first go, just create and store die_info for them.
Do all finalization for the whole CU after walking the whole tree.
Mark Wielaard [Wed, 16 Feb 2011 16:00:15 +0000 (17:00 +0100)]
Merge branch 'dwarf' into mjw/dwarf_output
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.
Mark Wielaard [Mon, 14 Feb 2011 13:36:28 +0000 (14:36 +0100)]
Calculate local_hash only on finalizing entry, store in die_info.
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.
Mark Wielaard [Tue, 1 Feb 2011 10:10:09 +0000 (11:10 +0100)]
Remove unused try-catch-throw blocks.
There isn't any "recatcher" of these throws, so the only thing the
cleanup does is hide the original exception in case of error, making
debugging the root cause harder.
Mark Wielaard [Fri, 21 Jan 2011 21:44:15 +0000 (22:44 +0100)]
Add local hash for children_types.
Mark Wielaard [Fri, 21 Jan 2011 09:37:08 +0000 (10:37 +0100)]
Add local_hash to attributes_type and use it for die hash.
Skips values of reference attributes.
Mark Wielaard [Thu, 20 Jan 2011 15:23:48 +0000 (16:23 +0100)]
Turn copier::entry into a value_reference so what_space works on it.
copier::entry is used as a value_reference when an attr_value has a
dangling reference to a DIE not yet built in the output. So make sure
its type matches that usage.
Mark Wielaard [Thu, 20 Jan 2011 14:28:59 +0000 (15:28 +0100)]
Introduce local_hash for dwarf_output debug_info_die.
Very simplistic local_hash implementation. Just takes tag name,
attributes and children sizes into account. But is good enough to
make all the dwarf_edit_output tests pass. Some dwarfcmp-test-self
tests fail though. it also generates a significant number of
collissions for the dwarf_output_collector attr_sets.
Mark Wielaard [Thu, 13 Jan 2011 12:09:31 +0000 (13:09 +0100)]
Remove unused output-shape from dwarf_output collector.
Roland McGrath [Tue, 31 Aug 2010 08:28:03 +0000 (01:28 -0700)]
debugging hacks, not to be merged
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
Roland McGrath [Mon, 15 Nov 2010 23:38:02 +0000 (15:38 -0800)]
Version bump for 0.150 development.