]> git.ipfire.org Git - thirdparty/elfutils.git/log
thirdparty/elfutils.git
14 years agoMerge branch 'dwarf' into pmachata/range_list_iterator_formptr pmachata/range_list_iterator_formptr
Petr Machata [Fri, 25 Feb 2011 11:14:54 +0000 (12:14 +0100)] 
Merge branch 'dwarf' into pmachata/range_list_iterator_formptr

14 years agoAdjust location_attribute::const_iterator to changes in range_list iterator
Petr Machata [Fri, 25 Feb 2011 11:05:16 +0000 (12:05 +0100)] 
Adjust location_attribute::const_iterator to changes in range_list iterator

14 years agoUse __libdw_formptr in ranges iterator
Petr Machata [Fri, 25 Feb 2011 11:13:53 +0000 (12:13 +0100)] 
Use __libdw_formptr in ranges iterator

14 years agoHandle DW_AT_linkage_name in dwarf_attr_string and dwarf-knowledge
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

14 years agoAdd DW_AT_GNU_odr_signature expected value space.
Roland McGrath [Wed, 23 Feb 2011 18:54:30 +0000 (10:54 -0800)] 
Add DW_AT_GNU_odr_signature expected value space.

14 years agoTemporarily export __libdw_formptr for use by C++ code.
Roland McGrath [Thu, 24 Feb 2011 23:33:47 +0000 (15:33 -0800)] 
Temporarily export __libdw_formptr for use by C++ code.

14 years agoMake libdwP.h internal declarations C++-compatible.
Roland McGrath [Thu, 24 Feb 2011 23:25:43 +0000 (15:25 -0800)] 
Make libdwP.h internal declarations C++-compatible.

14 years agoFix dwarf_path_finder::jump for the general case.
Roland McGrath [Thu, 24 Feb 2011 23:11:58 +0000 (15:11 -0800)] 
Fix dwarf_path_finder::jump for the general case.

14 years agoPut the slow dwarfcmp tests last.
Roland McGrath [Thu, 24 Feb 2011 22:40:44 +0000 (14:40 -0800)] 
Put the slow dwarfcmp tests last.

14 years agoHandle DW_AT_linkage_name in dwarf_attr_string and dwarf-knowledge
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

14 years agoMerge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
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

14 years agodwarflint: Allow per-form configuration of CU bitness where form may appear
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

14 years agodwarflint: DW_AT_GNU_odr_signature is 8-byte constant
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

14 years agodwarflint: form::width takes cu_head, not cu argument
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

14 years agoAdd DW_AT_GNU_odr_signature expected value space.
Roland McGrath [Wed, 23 Feb 2011 18:54:30 +0000 (10:54 -0800)] 
Add DW_AT_GNU_odr_signature expected value space.

14 years agoAdd license boilerplate to src/dwarfstrings.*
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

14 years agoDon't emit two error messages for invalid attribute form
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

14 years agoAdd DW_AT_GNU_* to dwarf_attr_string
Petr Machata [Wed, 23 Feb 2011 16:00:35 +0000 (17:00 +0100)] 
Add DW_AT_GNU_* to dwarf_attr_string

14 years agoRevamp dwarf_path_finder, should be more efficient.
Roland McGrath [Fri, 18 Feb 2011 22:59:21 +0000 (14:59 -0800)] 
Revamp dwarf_path_finder, should be more efficient.

14 years agoMerge commit 'elfutils-0.152' into dwarf
Roland McGrath [Tue, 15 Feb 2011 17:34:08 +0000 (09:34 -0800)] 
Merge commit 'elfutils-0.152' into dwarf

14 years agoPrepare 0.152 release. elfutils-0.152
Ulrich Drepper [Tue, 15 Feb 2011 14:36:26 +0000 (09:36 -0500)] 
Prepare 0.152 release.

14 years agol10n: Updates to Polish (pl) translation
raven [Sun, 13 Feb 2011 15:25:49 +0000 (15:25 +0000)] 
l10n: Updates to Polish (pl) translation

Transmitted-via: Transifex (translate.fedoraproject.org)

14 years agol10n: Updates to Ukrainian (uk) translation
yurchor [Sat, 12 Feb 2011 11:37:27 +0000 (11:37 +0000)] 
l10n: Updates to Ukrainian (uk) translation

Transmitted-via: Transifex (translate.fedoraproject.org)

14 years agoNEWS item for last change
Roland McGrath [Fri, 11 Feb 2011 20:38:36 +0000 (12:38 -0800)] 
NEWS item for last change

14 years agolibdwfl: Search for Linux kernel binaries with compression file name suffixes.
Roland McGrath [Fri, 11 Feb 2011 20:29:45 +0000 (12:29 -0800)] 
libdwfl: Search for Linux kernel binaries with compression file name suffixes.

14 years agoelfcmp: Add --l/--verbose flag.
Roland McGrath [Fri, 11 Feb 2011 18:42:45 +0000 (10:42 -0800)] 
elfcmp: Add --l/--verbose flag.

14 years agoelfcmp: Add --ignore-build-id flag.
Roland McGrath [Fri, 11 Feb 2011 18:32:30 +0000 (10:32 -0800)] 
elfcmp: Add --ignore-build-id flag.

14 years agoldscript: Remove unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:48:42 +0000 (19:48 -0800)] 
ldscript: Remove unused variable.

14 years agounstrip: Remove unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:48:02 +0000 (19:48 -0800)] 
unstrip: Remove unused variable.

14 years agoelflint: Remove unused variables.
Roland McGrath [Wed, 9 Feb 2011 03:46:50 +0000 (19:46 -0800)] 
elflint: Remove unused variables.

14 years agoelflint: Warn about missing xndx section only once.
Roland McGrath [Wed, 9 Feb 2011 03:45:26 +0000 (19:45 -0800)] 
elflint: Warn about missing xndx section only once.

14 years agold: Remove an unused variable.
Roland McGrath [Wed, 9 Feb 2011 03:45:12 +0000 (19:45 -0800)] 
ld: Remove an unused variable.

14 years ago0.152 NEWS item for nit fixes.
Roland McGrath [Wed, 9 Feb 2011 03:40:19 +0000 (19:40 -0800)] 
0.152 NEWS item for nit fixes.

14 years agoUse AC_LANG_SOURCE.
Roland McGrath [Wed, 9 Feb 2011 03:36:50 +0000 (19:36 -0800)] 
Use AC_LANG_SOURCE.

14 years agoRemove obsolete ALL_LINGUAS variable from configure.
Roland McGrath [Wed, 9 Feb 2011 02:59:04 +0000 (18:59 -0800)] 
Remove obsolete ALL_LINGUAS variable from configure.

14 years agolibasm: Remove an unused variable.
Roland McGrath [Tue, 8 Feb 2011 19:20:49 +0000 (11:20 -0800)] 
libasm: Remove an unused variable.

14 years ago0.152 NEWS item for latest libdwfl prelink fix
Roland McGrath [Thu, 3 Feb 2011 01:24:53 +0000 (17:24 -0800)] 
0.152 NEWS item for latest libdwfl prelink fix

14 years agorun-prelink-addr-test.sh: Add a .dynbss+.bss prelink split
Josh Stone [Thu, 3 Feb 2011 00:30:01 +0000 (16:30 -0800)] 
run-prelink-addr-test.sh: Add a .dynbss+.bss prelink split

14 years agolibdwfl: Use the section-end address as the synchronization point, rather than sh_addr.
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.

14 years agolibdwfl: Discover PT_INTERP p_vaddr separately from main phdrs and undo phdrs.
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.

14 years agolibdwfl: Fix prelink address_sync to find 64-bit PT_INTERP.
Roland McGrath [Wed, 2 Feb 2011 00:09:43 +0000 (16:09 -0800)] 
libdwfl: Fix prelink address_sync to find 64-bit PT_INTERP.

14 years agol10n: Updates to Polish (pl) translation
raven [Thu, 13 Jan 2011 11:20:58 +0000 (11:20 +0000)] 
l10n: Updates to Polish (pl) translation

Transmitted-via: Transifex (translate.fedoraproject.org)

14 years agol10n: Updates to Ukrainian (uk) translation
yurchor [Thu, 13 Jan 2011 06:05:38 +0000 (06:05 +0000)] 
l10n: Updates to Ukrainian (uk) translation

Transmitted-via: Transifex (translate.fedoraproject.org)

14 years agoMerge commit 'elfutils-0.151' into dwarf
Roland McGrath [Thu, 13 Jan 2011 00:19:19 +0000 (16:19 -0800)] 
Merge commit 'elfutils-0.151' into dwarf

Conflicts:
tests/Makefile.am

14 years agoPrepare 0.151 release. elfutils-0.151
Ulrich Drepper [Wed, 12 Jan 2011 23:07:24 +0000 (18:07 -0500)] 
Prepare 0.151 release.

14 years agoUndo last change for data-only tests, so we test PT_DYNAMIC digging too.
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.

14 years agorun-prelink-addr-test.sh: Make symlinks to find .debug files corresponding to noshdrs...
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.

14 years agoAdd data-only prelink tests
Josh Stone [Wed, 12 Jan 2011 03:16:59 +0000 (19:16 -0800)] 
Add data-only prelink tests

14 years agoExpand testfile53 for 32/64-bit
Josh Stone [Wed, 12 Jan 2011 03:16:58 +0000 (19:16 -0800)] 
Expand testfile53 for 32/64-bit

14 years agoExpand testfile52 for 32/64-bit and stripped headers
Josh Stone [Wed, 12 Jan 2011 03:16:57 +0000 (19:16 -0800)] 
Expand testfile52 for 32/64-bit and stripped headers

14 years agoNEWS items for 0.151
Roland McGrath [Tue, 11 Jan 2011 18:33:32 +0000 (10:33 -0800)] 
NEWS items for 0.151

14 years agolibdwfl: Rejigger address synchronization using .gnu.prelink_undo information.
Roland McGrath [Tue, 11 Jan 2011 18:17:01 +0000 (10:17 -0800)] 
libdwfl: Rejigger address synchronization using .gnu.prelink_undo information.

14 years agoTest cases for libdwfl vs prelink.
Josh Stone [Tue, 11 Jan 2011 05:28:46 +0000 (21:28 -0800)] 
Test cases for libdwfl vs prelink.

14 years agol10n: Updates to Spanish (Castilian) (es) translation
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)

14 years agol10n: Updates to Polish (pl) translation
raven [Sat, 8 Jan 2011 07:50:15 +0000 (07:50 +0000)] 
l10n: Updates to Polish (pl) translation

Transmitted-via: Transifex (translate.fedoraproject.org)

14 years agol10n: Updates to Ukrainian (uk) translation
yurchor [Sat, 8 Jan 2011 07:48:03 +0000 (07:48 +0000)] 
l10n: Updates to Ukrainian (uk) translation

Transmitted-via: Transifex (translate.fedoraproject.org)

14 years agostrip: Remove all excess for --strip-sections.
Roland McGrath [Thu, 6 Jan 2011 20:14:43 +0000 (12:14 -0800)] 
strip: Remove all excess for --strip-sections.

14 years agolibdwfl: Enhance address_sync calculation to handle more prelink permutations.
Roland McGrath [Wed, 5 Jan 2011 03:29:53 +0000 (19:29 -0800)] 
libdwfl: Enhance address_sync calculation to handle more prelink permutations.

14 years agostrip: Add --strip-sections option.
Roland McGrath [Wed, 5 Jan 2011 03:29:24 +0000 (19:29 -0800)] 
strip: Add --strip-sections option.

14 years agoFix off64_t overflow when MAXIMUM_SIZE == ~0.
Jan Kratochvil [Wed, 5 Jan 2011 09:06:21 +0000 (10:06 +0100)] 
Fix off64_t overflow when MAXIMUM_SIZE == ~0.

14 years agoFix up run-dwarf-attributes.sh test after removal dwarf::directory_table.
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.

14 years agoTurn on the sharing_stack
Petr Machata [Tue, 7 Dec 2010 12:12:19 +0000 (13:12 +0100)] 
Turn on the sharing_stack

14 years agoPlug a leak in sharing_stack
Petr Machata [Mon, 6 Dec 2010 20:37:02 +0000 (21:37 +0100)] 
Plug a leak in sharing_stack

14 years agoNitpick, don't use = initializers for class objects in dwarf_edit.
Mark Wielaard [Wed, 1 Dec 2010 09:42:35 +0000 (10:42 +0100)] 
Nitpick, don't use = initializers for class objects in dwarf_edit.

14 years agodwfl_module_relocations: Remove over-eager assert.
Roland McGrath [Wed, 1 Dec 2010 01:39:55 +0000 (17:39 -0800)] 
dwfl_module_relocations: Remove over-eager assert.

14 years agoFix copyright years syntax.
Roland McGrath [Wed, 1 Dec 2010 01:35:02 +0000 (17:35 -0800)] 
Fix copyright years syntax.

14 years agoRemove directory_table/include_directories as distinct item from line_info_table.
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.

14 years agoDefine struct die_info inside class dwarf_output.
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.

14 years agoRename check struct to check_die_attr because it shadowed a member of 'this'.
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'.

14 years agoUse local, not temporary, when using swap ().
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.

14 years agoDon't call c++ constructors directly by name.
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

14 years agoRename class [raw_]compile_units to [raw_]compile_units_type.
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.

14 years agoMerge commit 'elfutils-0.150' into dwarf
Roland McGrath [Tue, 23 Nov 2010 22:11:29 +0000 (14:11 -0800)] 
Merge commit 'elfutils-0.150' into dwarf

14 years agoelfutils 0.150 release preparation elfutils-0.150
Ulrich Drepper [Tue, 23 Nov 2010 03:15:35 +0000 (22:15 -0500)] 
elfutils 0.150 release preparation

14 years ago0.150 NEWS items
Roland McGrath [Tue, 23 Nov 2010 01:35:56 +0000 (17:35 -0800)] 
0.150 NEWS items

14 years agoVersion bump for 0.150 development.
Roland McGrath [Mon, 15 Nov 2010 23:38:02 +0000 (15:38 -0800)] 
Version bump for 0.150 development.

14 years agolibdwfl: Revamp bias bookkeeping, account correctly for prelink REL->RELA segment...
Roland McGrath [Sat, 13 Nov 2010 00:46:47 +0000 (16:46 -0800)] 
libdwfl: Revamp bias bookkeeping, account correctly for prelink REL->RELA segment inflation.

14 years agofindtextrel: Optimize last change.
Roland McGrath [Thu, 11 Nov 2010 17:52:58 +0000 (09:52 -0800)] 
findtextrel: Optimize last change.

14 years agofindtextrel: Don't assume order of sections.
Roland McGrath [Thu, 11 Nov 2010 03:47:31 +0000 (19:47 -0800)] 
findtextrel: Don't assume order of sections.

14 years agobackends: i386 integer return value typo fix, reported by Thorsten Glaser <tg@mirbsd...
Roland McGrath [Mon, 8 Nov 2010 18:43:59 +0000 (10:43 -0800)] 
backends: i386 integer return value typo fix, reported by Thorsten Glaser <tg@mirbsd.de>.

14 years agoMerge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf
Petr Machata [Mon, 1 Nov 2010 11:36:07 +0000 (12:36 +0100)] 
Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf

14 years agoAdd smaller example of dwarf_edit_output circular struct issue.
Mark Wielaard [Tue, 26 Oct 2010 22:38:55 +0000 (00:38 +0200)] 
Add smaller example of dwarf_edit_output circular struct issue.

14 years agol10n: Updates to Polish (pl) translation
raven [Mon, 25 Oct 2010 12:09:10 +0000 (12:09 +0000)] 
l10n: Updates to Polish (pl) translation

Transmitted-via: Transifex (translate.fedoraproject.org)

14 years agol10n: Updates to Polish (pl) translation
raven [Sat, 23 Oct 2010 15:45:32 +0000 (15:45 +0000)] 
l10n: Updates to Polish (pl) translation

Transmitted-via: Transifex (translate.fedoraproject.org)

14 years agoAdd checking of CUs dwarf_comparator and dwarf_output to dwarf_edit_output.cc.
Mark Wielaard [Fri, 22 Oct 2010 22:12:02 +0000 (00:12 +0200)] 
Add checking of CUs dwarf_comparator and dwarf_output to dwarf_edit_output.cc.

14 years agodwarflint: Fix how --check handles low-level checks
Petr Machata [Fri, 22 Oct 2010 14:25:18 +0000 (16:25 +0200)] 
dwarflint: Fix how --check handles low-level checks

14 years agodwarflint: Move the testing code of wrap.cc to tests/test-wrap.cc
Petr Machata [Fri, 22 Oct 2010 14:02:21 +0000 (16:02 +0200)] 
dwarflint: Move the testing code of wrap.cc to tests/test-wrap.cc

14 years agodwarflint: Move test-coverage.cc to tests subdir
Petr Machata [Fri, 22 Oct 2010 13:55:36 +0000 (15:55 +0200)] 
dwarflint: Move test-coverage.cc to tests subdir

14 years agoAdd dwarf_output die offset checking to detect sharing in dwarf_edit_output.
Mark Wielaard [Thu, 21 Oct 2010 21:25:11 +0000 (23:25 +0200)] 
Add dwarf_output die offset checking to detect sharing in dwarf_edit_output.

14 years agoAdd dwarf_comparator checks for DIEs to dwarf_edit_output.cc test.
Mark Wielaard [Wed, 20 Oct 2010 22:36:27 +0000 (00:36 +0200)] 
Add dwarf_comparator checks for DIEs to dwarf_edit_output.cc test.

14 years agoAllow passing through options to dwarf_edit_output test like --offsets.
Mark Wielaard [Tue, 19 Oct 2010 13:52:01 +0000 (15:52 +0200)] 
Allow passing through options to dwarf_edit_output test like --offsets.

14 years agoExpand dwarf_edit_output.cc testcases.
Mark Wielaard [Mon, 18 Oct 2010 21:35:04 +0000 (23:35 +0200)] 
Expand dwarf_edit_output.cc testcases.

14 years agodwarflint: Tolerate unknown attribute names
Petr Machata [Mon, 18 Oct 2010 21:10:51 +0000 (23:10 +0200)] 
dwarflint: Tolerate unknown attribute names

14 years agodwarflint: Update TODO
Petr Machata [Mon, 18 Oct 2010 17:59:36 +0000 (19:59 +0200)] 
dwarflint: Update TODO

14 years agodwarflint: A test case for the early bailout and the GNU extension
Petr Machata [Mon, 18 Oct 2010 17:57:11 +0000 (19:57 +0200)] 
dwarflint: A test case for the early bailout and the GNU extension

14 years agodwarflint: Add --nognu option for not using the GNU extension to DWARF
Petr Machata [Mon, 18 Oct 2010 17:56:42 +0000 (19:56 +0200)] 
dwarflint: Add --nognu option for not using the GNU extension to DWARF

14 years agodwarflint: Finish checking .debug_abbrev before bailing out
Petr Machata [Mon, 18 Oct 2010 17:56:06 +0000 (19:56 +0200)] 
dwarflint: Finish checking .debug_abbrev before bailing out

14 years agodwarflint: Add a GNU extension
Petr Machata [Mon, 18 Oct 2010 16:29:05 +0000 (18:29 +0200)] 
dwarflint: Add a GNU extension

14 years agodwarflint: Pacify -D_GLIBCXX_DEBUG
Petr Machata [Mon, 18 Oct 2010 12:32:53 +0000 (14:32 +0200)] 
dwarflint: Pacify -D_GLIBCXX_DEBUG

14 years agoMerge remote branch 'origin/dwarf' into dwarf
Petr Machata [Mon, 18 Oct 2010 10:26:39 +0000 (12:26 +0200)] 
Merge remote branch 'origin/dwarf' into dwarf