platform/upstream/elfutils.git
12 years agoAdd NEWS entries for libdwfl, readelf, strip and dwarf.h.
Mark Wielaard [Sun, 22 Jan 2012 18:28:20 +0000 (19:28 +0100)]
Add NEWS entries for libdwfl, readelf, strip and dwarf.h.

12 years agoUpdate copyright year
Ulrich Drepper [Sat, 21 Jan 2012 23:19:24 +0000 (18:19 -0500)]
Update copyright year

12 years agoColor code output of nm and objdump
Ulrich Drepper [Sat, 21 Jan 2012 23:14:39 +0000 (18:14 -0500)]
Color code output of nm and objdump

12 years agoFix warning nit.
Roland McGrath [Fri, 20 Jan 2012 21:38:29 +0000 (13:38 -0800)]
Fix warning nit.

12 years agoHandle --enable-deterministic-archives to make -D behavior default for ar and ranlib.
Roland McGrath [Fri, 20 Jan 2012 20:51:46 +0000 (12:51 -0800)]
Handle --enable-deterministic-archives to make -D behavior default for ar and ranlib.

12 years agoar: Don't crash when given files but no command.
Roland McGrath [Fri, 20 Jan 2012 20:04:19 +0000 (12:04 -0800)]
ar: Don't crash when given files but no command.

12 years agoGrok -U as inverse of -D in ar and ranlib.
Roland McGrath [Fri, 20 Jan 2012 19:43:36 +0000 (11:43 -0800)]
Grok -U as inverse of -D in ar and ranlib.

12 years agoSupport -D in ranlib as in ar.
Roland McGrath [Fri, 20 Jan 2012 19:40:59 +0000 (11:40 -0800)]
Support -D in ranlib as in ar.

12 years agoDon't set LD_LIBRARY_PATH explicitly for command run inside test case.
Roland McGrath [Wed, 18 Jan 2012 21:57:08 +0000 (13:57 -0800)]
Don't set LD_LIBRARY_PATH explicitly for command run inside test case.

12 years agoFix .eh_frame decoding in the absence of any DWARF.
Roland McGrath [Tue, 20 Dec 2011 18:55:01 +0000 (10:55 -0800)]
Fix .eh_frame decoding in the absence of any DWARF.

12 years agoFix elf_from_remote_memory for ELFCLASS64 case.
Roland McGrath [Fri, 2 Dec 2011 17:45:53 +0000 (09:45 -0800)]
Fix elf_from_remote_memory for ELFCLASS64 case.

12 years agoar: Implement -D.
Roland McGrath [Sun, 6 Nov 2011 04:08:07 +0000 (21:08 -0700)]
ar: Implement -D.

12 years agoar: Fix a return value check.
Roland McGrath [Sun, 6 Nov 2011 03:58:14 +0000 (20:58 -0700)]
ar: Fix a return value check.

12 years agoUse index of first global symbol to speed up dwfl_module_addrsym search.
Mark Wielaard [Mon, 31 Oct 2011 22:17:06 +0000 (23:17 +0100)]
Use index of first global symbol to speed up dwfl_module_addrsym search.

Cache the index of the first global symbol in the module's symbol table,
or -1 when unknown.  All symbols with local binding come first in the
symbol table before the global symbols.  Use this information to speed
up dwfl_module_addrsym search.

12 years agodwfl_module_addrsym update sizeless_sym only if closer to desired addr.
Mark Wielaard [Mon, 31 Oct 2011 14:33:49 +0000 (15:33 +0100)]
dwfl_module_addrsym update sizeless_sym only if closer to desired addr.

12 years agoRun gawk on config/known-dwarf.awk.
Mark Wielaard [Mon, 31 Oct 2011 14:01:50 +0000 (15:01 +0100)]
Run gawk on config/known-dwarf.awk.

12 years agoMerge branch 'roland/maintainer-gendis'
Roland McGrath [Sun, 23 Oct 2011 20:54:53 +0000 (13:54 -0700)]
Merge branch 'roland/maintainer-gendis'

12 years agoderelocate.c (cache_sections): Intern mod->reloc_info check.
Mark Wielaard [Thu, 20 Oct 2011 14:53:54 +0000 (16:53 +0200)]
derelocate.c (cache_sections): Intern mod->reloc_info check.

12 years agoInclude *_dis.h headers in dist; generate them only for --enable-maintainer-mode.
Roland McGrath [Sun, 16 Oct 2011 16:23:00 +0000 (09:23 -0700)]
Include *_dis.h headers in dist; generate them only for --enable-maintainer-mode.

12 years agoUse POSIX.2 shell features in eu_version calculation.
Roland McGrath [Sat, 8 Oct 2011 22:14:30 +0000 (15:14 -0700)]
Use POSIX.2 shell features in eu_version calculation.

12 years agoFix use of AC_ARG_ENABLE to handle $enableval correctly.
Mike Frysinger [Sat, 8 Oct 2011 22:09:15 +0000 (15:09 -0700)]
Fix use of AC_ARG_ENABLE to handle $enableval correctly.

12 years agoIgnore files generated by building in the source directory.
Roland McGrath [Sat, 8 Oct 2011 21:58:24 +0000 (14:58 -0700)]
Ignore files generated by building in the source directory.

12 years agoreadelf.c: Assume the right size of an array
Marek Polacek [Tue, 4 Oct 2011 09:11:42 +0000 (05:11 -0400)]
readelf.c: Assume the right size of an array

12 years agoMore CL
Ulrich Drepper [Mon, 3 Oct 2011 20:08:33 +0000 (16:08 -0400)]
More CL

12 years agoFix nm output for sysv format
Ulrich Drepper [Mon, 3 Oct 2011 19:53:12 +0000 (15:53 -0400)]
Fix nm output for sysv format

Undefined symbols need no address and siz printed.  Avoid the initial
entry which is no real symbol.  Avoid section symbols.

12 years agoImprove nm output for BSD and POSIX format
Ulrich Drepper [Mon, 3 Oct 2011 11:23:07 +0000 (07:23 -0400)]
Improve nm output for BSD and POSIX format

The binutils version showed more information since it distinguished
unique symbols, symbols in read-only and bss sections.  The format
is now the same.  In addition handle TLS symbols correctly but
differently from binutils nm since the latter drops information.
Instead use a @ suffix to indicate TLS similar to * to indicate
weak.

12 years agoUpdate spec file for dependency on C++ library
Ulrich Drepper [Sun, 2 Oct 2011 12:49:57 +0000 (08:49 -0400)]
Update spec file for dependency on C++ library

12 years agoAdd demangling support to nm
Ulrich Drepper [Sun, 2 Oct 2011 12:33:19 +0000 (08:33 -0400)]
Add demangling support to nm

13 years ago * libdw.h (dwarf_offdie): Fix documentation to mention .debug_info.
Mark Wielaard [Thu, 14 Jul 2011 10:59:26 +0000 (12:59 +0200)]
    * libdw.h (dwarf_offdie): Fix documentation to mention .debug_info.

13 years agoreadelf: Grok -W/--wide for binutils compatibility.
Roland McGrath [Sat, 9 Jul 2011 12:33:37 +0000 (05:33 -0700)]
readelf: Grok -W/--wide for binutils compatibility.

13 years agoWire up -u option handling in ar.
Roland McGrath [Sat, 9 Jul 2011 10:20:16 +0000 (03:20 -0700)]
Wire up -u option handling in ar.

13 years agoClean up byte order handling in md5 and sha1 code.
Roland McGrath [Sat, 9 Jul 2011 10:17:24 +0000 (03:17 -0700)]
Clean up byte order handling in md5 and sha1 code.

13 years agostrip.c (relocate): Make offset check overflow-proof.
Mark Wielaard [Mon, 30 May 2011 15:23:57 +0000 (17:23 +0200)]
strip.c (relocate): Make offset check overflow-proof.

13 years agoAdd missing test wrappers to Makefile.am (EXTRA_DIST).
Mark Wielaard [Mon, 30 May 2011 13:46:32 +0000 (15:46 +0200)]
Add missing test wrappers to Makefile.am (EXTRA_DIST).

13 years agostrip: --reloc-debug-sections, relocate against any debug section symbol.
Mark Wielaard [Tue, 24 May 2011 14:09:31 +0000 (16:09 +0200)]
strip: --reloc-debug-sections, relocate against any debug section symbol.

13 years agoAdd hello_s390.ko testcase to run-strip-reloc.sh.
Mark Wielaard [Tue, 24 May 2011 12:30:40 +0000 (14:30 +0200)]
Add hello_s390.ko testcase to run-strip-reloc.sh.

This new test PASSes, but looking at the size results will show
--reloc-debug-sections isn't making a huge difference for this case.

13 years agostrip: Add --reloc-debug-sections option.
Mark Wielaard [Mon, 16 May 2011 09:33:11 +0000 (11:33 +0200)]
strip: Add --reloc-debug-sections option.

13 years agostrip: Handle SHT_GROUP sections better.
Mark Wielaard [Tue, 17 May 2011 10:20:01 +0000 (12:20 +0200)]
strip: Handle SHT_GROUP sections better.

13 years agoAdd DW_OP_GNU_const_type/regval_type/deref_type/convert/reinterpret.
Jakub Jelinek [Tue, 17 May 2011 15:00:14 +0000 (17:00 +0200)]
Add DW_OP_GNU_const_type/regval_type/deref_type/convert/reinterpret.

13 years agodwarf_tag_string fixup GNU_call_site and GNU_call_site_parameter strings.
Mark Wielaard [Tue, 17 May 2011 13:34:02 +0000 (15:34 +0200)]
dwarf_tag_string fixup GNU_call_site and GNU_call_site_parameter strings.

13 years agonm.c: Remove unused if/else and parameters.
Marek Polacek [Thu, 12 May 2011 10:08:21 +0000 (12:08 +0200)]
nm.c: Remove unused if/else and parameters.

13 years agounstrip.c: Mark function as static.
Marek Polacek [Sat, 7 May 2011 17:26:20 +0000 (19:26 +0200)]
unstrip.c: Mark function as static.

13 years agoMerge branch 'mjw/sdt'
Mark Wielaard [Tue, 3 May 2011 09:35:22 +0000 (11:35 +0200)]
Merge branch 'mjw/sdt'

13 years agoMerge branch 'mjw/gdb_index'
Mark Wielaard [Thu, 28 Apr 2011 08:14:39 +0000 (10:14 +0200)]
Merge branch 'mjw/gdb_index'

13 years agoAdd printing of .gdb_index section to readelf.
Mark Wielaard [Thu, 14 Apr 2011 21:47:26 +0000 (23:47 +0200)]
Add printing of .gdb_index section to readelf.

13 years agolibdw: Sanity check end of section against cu_data () of die->cu.
Mark Wielaard [Tue, 26 Apr 2011 15:15:28 +0000 (17:15 +0200)]
libdw: Sanity check end of section against cu_data () of die->cu.

A Dwarf_CU can come from either the debug_info compile unit or a
debug_type type unit section. Use the correct one for sanity checking
whether we have a truncated section.

13 years agoAdd support for printing SDT elf notes.
Mark Wielaard [Sun, 24 Apr 2011 15:53:38 +0000 (17:53 +0200)]
Add support for printing SDT elf notes.

libebl/
    * libebl.h (ebl_object_note_type_name): Add const char *name arg.
    * eblhooks.h (object_note_type_name): Likewise.
    * eblopenbackend.c (default_object_note_type_name): Likewise.
    * eblobjnotetypename.c (ebl_object_note_type_name): Likewise.
    And print version if name is "stapsdt".
    * eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes.
src/
    * readelf.c (handle_notes_data): Call ebl_object_note_type_name
    with note name.

13 years agoFix doubled words.
Marek Polacek [Fri, 15 Apr 2011 09:41:32 +0000 (11:41 +0200)]
Fix doubled words.

13 years agoFix libdwfl compile issue in case none of the compression libraries are there.
Mark Wielaard [Mon, 11 Apr 2011 15:24:16 +0000 (17:24 +0200)]
Fix libdwfl compile issue in case none of the compression libraries are there.

    * linux-kernel-modules.c (vmlinux_suffixes): Guard definition
    by check for zlib, bzlib or lzma defines to check it isn't empty.
    (try_kernel_name): Use same guard for use of vmlinux_suffixes.

13 years agoNew test for ebl_dynamic_tag_name.
Marek Polacek [Mon, 28 Mar 2011 14:00:38 +0000 (16:00 +0200)]
New test for ebl_dynamic_tag_name.

13 years agoImprove output of readelf -wline
Petr Machata [Fri, 25 Mar 2011 14:17:04 +0000 (15:17 +0100)]
Improve output of readelf -wline

13 years agoMerge branch 'mpolacek/readelf-pltrel-case'
Marek Polacek [Fri, 25 Mar 2011 12:14:19 +0000 (13:14 +0100)]
Merge branch 'mpolacek/readelf-pltrel-case'

13 years agoMerge branch 'mpolacek/tlsdesc'
Marek Polacek [Fri, 25 Mar 2011 10:27:39 +0000 (11:27 +0100)]
Merge branch 'mpolacek/tlsdesc'

13 years agoMerge branch 'pmachata/rerequest-tag'
Petr Machata [Thu, 24 Mar 2011 12:39:20 +0000 (13:39 +0100)]
Merge branch 'pmachata/rerequest-tag'

13 years agoAdd support for call_site and entry_value to dwarf.h and readelf.
Mark Wielaard [Tue, 22 Mar 2011 22:03:31 +0000 (23:03 +0100)]
Add support for call_site and entry_value to dwarf.h and readelf.

New tags DW_TAG_GNU_call_site and DW_TAG_GNU_call_site_parameter.
New attributes DW_AT_GNU_call_site_value,
DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites,
and DW_AT_GNU_all_source_call_sites.
New operation DW_OP_GNU_entry_value.

13 years agoDon't segfault at DT_PLTREL case.
Marek Polacek [Tue, 22 Mar 2011 00:07:20 +0000 (01:07 +0100)]
Don't segfault at DT_PLTREL case.

13 years agoFix typo in TLSDESC_GOT.
Marek Polacek [Mon, 21 Mar 2011 22:46:56 +0000 (23:46 +0100)]
Fix typo in TLSDESC_GOT.

13 years agoHandle repeated requests for invalid abbreviation
Petr Machata [Wed, 16 Mar 2011 17:16:12 +0000 (18:16 +0100)]
Handle repeated requests for invalid abbreviation

13 years agoAdd new ebl_check_st_other_bits function.
Mark Wielaard [Thu, 10 Mar 2011 12:02:32 +0000 (13:02 +0100)]
Add new ebl_check_st_other_bits function.

13 years agoCosmetic cleanup for new test.
Roland McGrath [Thu, 10 Mar 2011 02:21:22 +0000 (18:21 -0800)]
Cosmetic cleanup for new test.

13 years agoReject requests for abbreviation with code 0
Petr Machata [Thu, 10 Mar 2011 00:50:32 +0000 (01:50 +0100)]
Reject requests for abbreviation with code 0

13 years agoAlpha backend: accept any _GLOBAL_OFFSET_TABLE_ value.
Roland McGrath [Wed, 9 Mar 2011 18:10:36 +0000 (10:10 -0800)]
Alpha backend: accept any _GLOBAL_OFFSET_TABLE_ value.

13 years agoCheck for truncated section in dwarf_child.
Petr Machata [Wed, 9 Mar 2011 18:01:29 +0000 (10:01 -0800)]
Check for truncated section in dwarf_child.

13 years agolibdwfl: Clear errno before using its ambient value.
Roland McGrath [Wed, 9 Mar 2011 00:26:02 +0000 (16:26 -0800)]
libdwfl: Clear errno before using its ambient value.

13 years agoNew test for dwarf_getstring.
Marek Polacek [Mon, 7 Mar 2011 19:16:50 +0000 (11:16 -0800)]
New test for dwarf_getstring.

13 years agoMerge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Roland McGrath [Thu, 3 Mar 2011 18:48:51 +0000 (10:48 -0800)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils

13 years agoFix readelf --debug-dump=loc crash on multiple input files.
Jan Kratochvil [Sun, 27 Feb 2011 20:01:25 +0000 (12:01 -0800)]
Fix readelf --debug-dump=loc crash on multiple input files.

13 years agoBUILT_RPATH vs BUILD_RPATH fixup.
Mark Wielaard [Fri, 25 Feb 2011 19:17:52 +0000 (20:17 +0100)]
BUILT_RPATH vs BUILD_RPATH fixup.

        * tests/Makefile.am (BUILD_RPATH): Be consistent in naming.

13 years agoMerge over readelf dwarf string additions from dwarf branch dwarfstrings.
Mark Wielaard [Fri, 25 Feb 2011 11:58:54 +0000 (12:58 +0100)]
Merge over readelf dwarf string additions from dwarf branch dwarfstrings.

* readelf.c (dwarf_attr_string): Add DW_AT_GNU_* handling.
(dwarf_form_string): Properly format and return unknown form.

13 years agoSupport reading .zdebug_* DWARF sections compressed via zlib.
Roland McGrath [Thu, 24 Feb 2011 03:52:46 +0000 (19:52 -0800)]
Support reading .zdebug_* DWARF sections compressed via zlib.

13 years agoHandle DW_AT_GNU_odr_signature in readelf.
Roland McGrath [Wed, 23 Feb 2011 17:23:08 +0000 (09:23 -0800)]
Handle DW_AT_GNU_odr_signature in readelf.

13 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.

13 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)

13 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)

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

13 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.

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

13 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.

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

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

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

13 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.

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

13 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.

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

13 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.

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

13 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

13 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

13 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.

13 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.

13 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.

13 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)

13 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)

13 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.

13 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.

13 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.

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

13 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

13 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