]> git.ipfire.org Git - thirdparty/elfutils.git/log
thirdparty/elfutils.git
12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into... jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86
Jan Kratochvil [Wed, 30 Jan 2013 20:03:48 +0000 (21:03 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

12 years ago. jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86
Jan Kratochvil [Wed, 30 Jan 2013 20:03:07 +0000 (21:03 +0100)] 
.

12 years agoFix up the testcase.
root [Tue, 20 Nov 2012 15:04:52 +0000 (16:04 +0100)] 
Fix up the testcase.

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into...
root [Tue, 20 Nov 2012 15:04:24 +0000 (16:04 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

12 years agoDrop no_fde, it is too slow without much benefits.
root [Tue, 20 Nov 2012 15:04:05 +0000 (16:04 +0100)] 
Drop no_fde, it is too slow without much benefits.

12 years agoVerify backtrace back to "main".
root [Tue, 20 Nov 2012 14:40:43 +0000 (15:40 +0100)] 
Verify backtrace back to "main".

Signed-off-by: root <jan.kratochvil@redhat.com>
12 years agoSimplify nonx86.
Jan Kratochvil [Fri, 16 Nov 2012 16:44:49 +0000 (17:44 +0100)] 
Simplify nonx86.

12 years agoEXTRA_DIST update.
Jan Kratochvil [Fri, 16 Nov 2012 16:39:10 +0000 (17:39 +0100)] 
EXTRA_DIST update.

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into...
Jan Kratochvil [Fri, 16 Nov 2012 16:33:39 +0000 (17:33 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport' into jankratochvi...
Jan Kratochvil [Fri, 16 Nov 2012 16:33:37 +0000 (17:33 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86

Conflicts:
tests/Makefile.am

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/forunwind... jankratochvil/forunwind-baseaddr-hookvars-corereport
Jan Kratochvil [Fri, 16 Nov 2012 16:33:09 +0000 (17:33 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/forunwind-baseaddr-hookvars-corereport

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr' into jankratochvil/forunwind-baseaddr...
Jan Kratochvil [Fri, 16 Nov 2012 16:33:09 +0000 (17:33 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr' into jankratochvil/forunwind-baseaddr-hookvars

12 years agoMerge branch 'jankratochvil/forunwind' into jankratochvil/forunwind-baseaddr
Jan Kratochvil [Fri, 16 Nov 2012 16:33:08 +0000 (17:33 +0100)] 
Merge branch 'jankratochvil/forunwind' into jankratochvil/forunwind-baseaddr

12 years agoMerge branch 'jankratochvil/s390-core' into jankratochvil/forunwind
Jan Kratochvil [Fri, 16 Nov 2012 16:33:02 +0000 (17:33 +0100)] 
Merge branch 'jankratochvil/s390-core' into jankratochvil/forunwind

Conflicts:
backends/ChangeLog
tests/Makefile.am

12 years agoMerge branch 'jankratochvil/ppc64-opd' into jankratochvil/forunwind
Jan Kratochvil [Fri, 16 Nov 2012 16:32:14 +0000 (17:32 +0100)] 
Merge branch 'jankratochvil/ppc64-opd' into jankratochvil/forunwind

Conflicts:
backends/ChangeLog
libdwfl/ChangeLog
tests/Makefile.am

12 years agoMerge branch 'jankratochvil/pie-core' into jankratochvil/forunwind
Jan Kratochvil [Fri, 16 Nov 2012 16:31:10 +0000 (17:31 +0100)] 
Merge branch 'jankratochvil/pie-core' into jankratochvil/forunwind

Conflicts:
libdwfl/ChangeLog
tests/ChangeLog
tests/Makefile.am

12 years agoMerge branch 'jankratochvil/auxv32' into jankratochvil/forunwind
Jan Kratochvil [Fri, 16 Nov 2012 16:30:01 +0000 (17:30 +0100)] 
Merge branch 'jankratochvil/auxv32' into jankratochvil/forunwind

Conflicts:
libdwfl/ChangeLog

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into...
Jan Kratochvil [Fri, 16 Nov 2012 16:16:37 +0000 (17:16 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport' into jankratochvi...
Jan Kratochvil [Fri, 16 Nov 2012 16:16:37 +0000 (17:16 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/forunwind...
Jan Kratochvil [Fri, 16 Nov 2012 16:16:37 +0000 (17:16 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/forunwind-baseaddr-hookvars-corereport

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr' into jankratochvil/forunwind-baseaddr...
Jan Kratochvil [Fri, 16 Nov 2012 16:16:37 +0000 (17:16 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr' into jankratochvil/forunwind-baseaddr-hookvars

12 years agoMerge branch 'pending' into jankratochvil/forunwind-baseaddr
Jan Kratochvil [Fri, 16 Nov 2012 16:11:41 +0000 (17:11 +0100)] 
Merge branch 'pending' into jankratochvil/forunwind-baseaddr

12 years agoMerge branch 'jankratochvil/basecleanup-basealign' into pending
Jan Kratochvil [Fri, 16 Nov 2012 16:11:31 +0000 (17:11 +0100)] 
Merge branch 'jankratochvil/basecleanup-basealign' into pending

Conflicts:
tests/dwfl-report-elf-align.c

12 years agolibdwfl/
Jan Kratochvil [Sat, 27 Oct 2012 18:50:21 +0000 (20:50 +0200)] 
libdwfl/
* dwfl_report_elf.c (__libdwfl_report_elf): Remove BASE aligning.

tests/
* Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
(TESTS): Add run-dwfl-report-elf-align.sh.
(EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
testfile-dwfl-report-elf-align-shlib.so.bz2 .
(dwfl_report_elf_align_LDADD): New.
* dwfl-report-elf-align.c: New file.
* run-dwfl-report-elf-align.sh: New file.
* testfile-dwfl-report-elf-align-shlib.so.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into...
Jan Kratochvil [Thu, 15 Nov 2012 18:31:02 +0000 (19:31 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

12 years agoFix i686 build compat.
Jan Kratochvil [Thu, 15 Nov 2012 18:30:39 +0000 (19:30 +0100)] 
Fix i686 build compat.

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into...
Jan Kratochvil [Thu, 15 Nov 2012 18:22:49 +0000 (19:22 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

12 years agoFix missing run-backtrace.sh in dist.
Jan Kratochvil [Thu, 15 Nov 2012 18:22:24 +0000 (19:22 +0100)] 
Fix missing run-backtrace.sh in dist.

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into...
Jan Kratochvil [Tue, 13 Nov 2012 20:07:33 +0000 (21:07 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

12 years ago.
Jan Kratochvil [Tue, 13 Nov 2012 20:07:22 +0000 (21:07 +0100)] 
.

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into...
Jan Kratochvil [Tue, 13 Nov 2012 19:38:05 +0000 (20:38 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86' into jankratochvil/forunwind-baseaddr-hookvars-corereport-unwindx86-nonx86

12 years ago.
Jan Kratochvil [Tue, 13 Nov 2012 19:37:56 +0000 (20:37 +0100)] 
.

12 years agoRevert "Remove non-x86* EBL hooks."
Jan Kratochvil [Tue, 13 Nov 2012 17:55:19 +0000 (18:55 +0100)] 
Revert "Remove non-x86* EBL hooks."

This reverts commit f1bb4153196650a09048d05056f282e49addfed3.

12 years agoMerge branch 'jankratochvil/unwindx86' into jankratochvil/unwindx86-nonx86
Jan Kratochvil [Tue, 13 Nov 2012 17:55:11 +0000 (18:55 +0100)] 
Merge branch 'jankratochvil/unwindx86' into jankratochvil/unwindx86-nonx86

12 years agoRemove non-x86* EBL hooks.
Jan Kratochvil [Tue, 13 Nov 2012 17:54:49 +0000 (18:54 +0100)] 
Remove non-x86* EBL hooks.

12 years agos390 comment fix
Jan Kratochvil [Tue, 13 Nov 2012 17:47:46 +0000 (18:47 +0100)] 
s390 comment fix

12 years agoRevert "remove non-x86*"
Jan Kratochvil [Tue, 13 Nov 2012 17:47:14 +0000 (18:47 +0100)] 
Revert "remove non-x86*"

This reverts commit 0ee13b8b967d2a65a04c4eabcc1287da25cc4a2a.

12 years agoremove non-x86*
Jan Kratochvil [Tue, 13 Nov 2012 17:46:52 +0000 (18:46 +0100)] 
remove non-x86*

12 years agoSet specific DWFL_E_* codes.
Jan Kratochvil [Tue, 13 Nov 2012 17:31:21 +0000 (18:31 +0100)] 
Set specific DWFL_E_* codes.

12 years agosegment_start segment_end
Jan Kratochvil [Mon, 12 Nov 2012 20:36:00 +0000 (21:36 +0100)] 
segment_start segment_end

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport' into jankratochvi...
Jan Kratochvil [Mon, 12 Nov 2012 20:29:00 +0000 (21:29 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport' into jankratochvil/unwind

Conflicts:
libdw/libdw.map

12 years ago.
Jan Kratochvil [Mon, 12 Nov 2012 20:28:31 +0000 (21:28 +0100)] 
.

12 years agofoo
Jan Kratochvil [Mon, 12 Nov 2012 20:25:07 +0000 (21:25 +0100)] 
foo

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport' into jankratochvi...
Jan Kratochvil [Mon, 12 Nov 2012 20:23:37 +0000 (21:23 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars-corereport' into jankratochvil/unwind

12 years ago+dwfl_core_filename_report
Jan Kratochvil [Mon, 12 Nov 2012 20:21:58 +0000 (21:21 +0100)] 
+dwfl_core_filename_report

12 years ago.
Jan Kratochvil [Mon, 12 Nov 2012 19:58:05 +0000 (20:58 +0100)] 
.

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/unwind
Jan Kratochvil [Mon, 12 Nov 2012 19:55:10 +0000 (20:55 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/unwind

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr' into jankratochvil/forunwind-baseaddr...
Jan Kratochvil [Mon, 12 Nov 2012 19:55:02 +0000 (20:55 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr' into jankratochvil/forunwind-baseaddr-hookvars

12 years ago.
Jan Kratochvil [Mon, 12 Nov 2012 19:54:55 +0000 (20:54 +0100)] 
.

12 years agodwfl_end unified.
Jan Kratochvil [Mon, 12 Nov 2012 19:45:53 +0000 (20:45 +0100)] 
dwfl_end unified.

12 years agosplit:
Jan Kratochvil [Mon, 12 Nov 2012 17:41:21 +0000 (18:41 +0100)] 
split:
libdwfl/dwfl_frame_state.c

12 years ago.
Jan Kratochvil [Mon, 12 Nov 2012 16:25:13 +0000 (17:25 +0100)] 
.

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/unwind
Jan Kratochvil [Mon, 12 Nov 2012 16:23:15 +0000 (17:23 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr-hookvars' into jankratochvil/unwind

12 years ago.
Jan Kratochvil [Mon, 12 Nov 2012 16:23:12 +0000 (17:23 +0100)] 
.

12 years ago+EBLHOOKVAR
Jan Kratochvil [Mon, 12 Nov 2012 16:20:59 +0000 (17:20 +0100)] 
+EBLHOOKVAR

/* Number of Dwarf_Frame_State->regs entries to allocate for frame_state
   above.  */
size_t EBLHOOKVAR(frame_state_nregs);

12 years ago.
Jan Kratochvil [Mon, 12 Nov 2012 15:29:03 +0000 (16:29 +0100)] 
.

12 years ago.
Jan Kratochvil [Mon, 12 Nov 2012 15:24:43 +0000 (16:24 +0100)] 
.

12 years agoMerge branch 'jankratochvil/forunwind-baseaddr' into jankratochvil/unwind
Jan Kratochvil [Mon, 12 Nov 2012 14:47:22 +0000 (15:47 +0100)] 
Merge branch 'jankratochvil/forunwind-baseaddr' into jankratochvil/unwind

12 years ago+dwfl_report_elf_baseaddr
Jan Kratochvil [Mon, 12 Nov 2012 14:41:10 +0000 (15:41 +0100)] 
+dwfl_report_elf_baseaddr

12 years agoMerge branch 'jankratochvil/basecleanup-basealign' into pending
Jan Kratochvil [Mon, 12 Nov 2012 14:40:43 +0000 (15:40 +0100)] 
Merge branch 'jankratochvil/basecleanup-basealign' into pending

12 years agoAdd sample program for dwfl_frame_state_data.
Jan Kratochvil [Tue, 30 Oct 2012 17:06:54 +0000 (18:06 +0100)] 
Add sample program for dwfl_frame_state_data.

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 16:56:06 +0000 (17:56 +0100)] 
.

12 years agoRevert "."
Jan Kratochvil [Sun, 28 Oct 2012 16:23:11 +0000 (17:23 +0100)] 
Revert "."

This reverts commit 0b28333db8bb490be1674e2955e545b069d4deea.

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 16:22:39 +0000 (17:22 +0100)] 
.

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 15:54:13 +0000 (16:54 +0100)] 
.

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 15:46:00 +0000 (16:46 +0100)] 
.

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 15:06:03 +0000 (16:06 +0100)] 
.

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 13:49:14 +0000 (14:49 +0100)] 
.

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 13:10:21 +0000 (14:10 +0100)] 
.

12 years agoMerge branch 'jankratochvil/basecleanup-basealign-baseaddr' into unwind-perf
Jan Kratochvil [Sun, 28 Oct 2012 12:35:44 +0000 (13:35 +0100)] 
Merge branch 'jankratochvil/basecleanup-basealign-baseaddr' into unwind-perf

Conflicts:
tests/Makefile.am

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 12:34:13 +0000 (13:34 +0100)] 
.

12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 12:33:14 +0000 (13:33 +0100)] 
.

12 years agoMerge branch 'jankratochvil/basecleanup-basealign' into jankratochvil/basecleanup...
Jan Kratochvil [Sun, 28 Oct 2012 12:24:27 +0000 (13:24 +0100)] 
Merge branch 'jankratochvil/basecleanup-basealign' into jankratochvil/basecleanup-basealign-baseaddr

Conflicts:
tests/run-dwfl-report-elf-align.sh

12 years agolibdwfl/
Jan Kratochvil [Sat, 27 Oct 2012 18:50:21 +0000 (20:50 +0200)] 
libdwfl/
* dwfl_report_elf.c (__libdwfl_report_elf): Remove BASE aligning.

tests/
* Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
(TESTS): Add run-dwfl-report-elf-align.sh.
(EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
testfile-dwfl-report-elf-align-shlib.so.bz2 .
(dwfl_report_elf_align_LDADD): New.
* dwfl-report-elf-align.c: New file.
* run-dwfl-report-elf-align.sh: New file.
* testfile-dwfl-report-elf-align-shlib.so.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years ago.
Jan Kratochvil [Sun, 28 Oct 2012 07:59:02 +0000 (08:59 +0100)] 
.

12 years agolibdwfl/
Jan Kratochvil [Sat, 27 Oct 2012 18:50:21 +0000 (20:50 +0200)] 
libdwfl/
* dwfl_report_elf.c (__libdwfl_report_elf): Remove BASE aligning.

tests/
* Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
(TESTS): Add run-dwfl-report-elf-align.sh.
(EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
testfile-dwfl-report-elf-align-shlib.so.bz2 .
(dwfl_report_elf_align_LDADD): New.
* dwfl-report-elf-align.c: New file.
* run-dwfl-report-elf-align.sh: New file.
* testfile-dwfl-report-elf-align-shlib.so.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agobackends/
Jan Kratochvil [Wed, 10 Oct 2012 17:32:05 +0000 (19:32 +0200)] 
backends/
* Makefile.am (s390_SRCS): Add s390_corenote.c and s390x_corenote.c.
* linux-core-note.c (ALIGN_PR_REG): New definitions.
(struct EBLHOOK(prstatus)): Change field pr_reg to anonymous union with
ALIGN_PR_REG.
(EXTRA_ITEMS): New macro.
* s390_corenote.c: New file.
* s390_init.c (s390x_core_note): New declaration.
(s390_init): Install s390x_core_note and s390_core_note.
* s390x_corenote.c: New file.

src/
* readelf.c (handle_core_items): Limit special repeated items handling
to single-item formats '\n', 'b' and 'B', assert OFFSET 0 there.

tests/
* run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
and s390x core notes.
* testfile67.bz2: New file.
* testfile68.bz2: New file.
* Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agobackends/
Jan Kratochvil [Wed, 10 Oct 2012 07:48:10 +0000 (09:48 +0200)] 
backends/
        * Makefile.am (INCLUDES): Add libdwfl.
        (ppc64_SRCS): Add ppc64_get_func_pc.c.
        * ppc64_get_func_pc.c: New file.
        * ppc64_init.c (ppc64_init): Install get_func_pc and destr.

libdwfl/
        * dwfl_module_addrsym.c (dwfl_module_addrsym) (get_section): New
        function from ...
        (dwfl_module_addrsym) (same_section): ... here.  Call it.
        (dwfl_module_addrsym) (found_sym): New function from ...
        (dwfl_module_addrsym) (search_table): ... here.  Call it.  Try second
        time with ebl_get_func_pc.

libebl/
        * Makefile.am (gen_SOURCES): Add eblgetfuncpc.c.
        * ebl-hooks.h (get_func_pc): New entry.
        * eblgetfuncpc.c: New file.
        * libebl.h (struct Dwfl_Module): New declaration.
        (ebl_get_func_pc): New declaration.
        * libeblP.h (struct ebl): New field backend.

tests/
        * run-addrname-test.sh: New testcase for ppc64 function descriptors.
        * testfile66.bz2: New file.
* Makefile.am (EXTRA_DIST): Add testfile66.bz2.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agolibdwfl/
Jan Kratochvil [Wed, 17 Oct 2012 22:11:30 +0000 (00:11 +0200)] 
libdwfl/
* argp-std.c (offline_find_elf): New function.
(offline_callbacks): Use it for FIND_ELF.
(struct parse_opt): New.
(parse_opt): New KEY ARGP_KEY_INIT.  In other make HOOK struct
parse_opt pointer from former Dwfl pointer.  Delay 'e and OPT_COREFILE
processing till ARGP_KEY_SUCCESS.  Initialize state->INPUT already from
ARGP_KEY_SUCCESS.  Modify the cleanup in ARGP_KEY_ERROR.  Make the final state->INPUT initialization optional.
* libdwfl.h (dwfl_standard_argp): Extend the comment for USERDATA.

tests/
* run-addrname-test.sh: New test for PIE relocation.
* testfile70.core.bz2: New file.
* testfile70.exec.bz2: New file.
* Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
testfile70.exec.bz2 .

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agolibdwfl/
Jan Kratochvil [Wed, 10 Oct 2012 18:42:30 +0000 (20:42 +0200)] 
libdwfl/
linux-proc-maps.c: Include system.h.
(PROCEXEFMT, get_pid_class): New.
(grovel_auxv): Detect 32-bit vs. 64-bit auxv, possibly call get_pid_class.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agolibdwfl/
Jan Kratochvil [Sat, 27 Oct 2012 18:45:27 +0000 (20:45 +0200)] 
libdwfl/
* dwfl_report_elf.c (__libdwfl_report_elf): Simplify START and BIAS
calculation.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agotests/
Jan Kratochvil [Sat, 27 Oct 2012 19:31:58 +0000 (21:31 +0200)] 
tests/
* Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
testfile69.core.bz2 and testfile69.so.bz2 .

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agolibdw map fix.
Jan Kratochvil [Thu, 25 Oct 2012 17:07:28 +0000 (19:07 +0200)] 
libdw map fix.

12 years agopc_set -> bool
Jan Kratochvil [Wed, 24 Oct 2012 20:22:05 +0000 (22:22 +0200)] 
pc_set -> bool

12 years ago+memory_read callback.
Jan Kratochvil [Wed, 24 Oct 2012 20:04:01 +0000 (22:04 +0200)] 
+memory_read callback.

12 years ago.
Jan Kratochvil [Wed, 24 Oct 2012 18:49:14 +0000 (20:49 +0200)] 
.

12 years agoMerge branch 'pending' into jankratochvil/unwind
Jan Kratochvil [Wed, 17 Oct 2012 22:25:06 +0000 (00:25 +0200)] 
Merge branch 'pending' into jankratochvil/unwind

Conflicts:
libdwfl/argp-std.c

12 years agoMerge branch 'jankratochvil/pie-core' into pending
Jan Kratochvil [Wed, 17 Oct 2012 22:22:41 +0000 (00:22 +0200)] 
Merge branch 'jankratochvil/pie-core' into pending

12 years agolibdwfl/
Jan Kratochvil [Wed, 17 Oct 2012 22:11:30 +0000 (00:11 +0200)] 
libdwfl/
2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

* argp-std.c (offline_find_elf): New function.
(offline_callbacks): Use it for FIND_ELF.
(struct parse_opt): New.
(parse_opt): New KEY ARGP_KEY_INIT.  In other make HOOK struct
parse_opt pointer from former Dwfl pointer.  Delay 'e and OPT_COREFILE
processing till ARGP_KEY_SUCCESS.  Initialize state->INPUT already from
ARGP_KEY_SUCCESS.  Modify the cleanup in ARGP_KEY_ERROR.  Make the final state->INPUT initialization optional.
* libdwfl.h (dwfl_standard_argp): Extend the comment for USERDATA.

tests/
2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

* run-addrname-test.sh: New test for PIE relocation.
* testfile70.core.bz2: New file.
* testfile70.exec.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agoMerge branch 'pending' into jankratochvil/unwind
Jan Kratochvil [Wed, 17 Oct 2012 20:22:07 +0000 (22:22 +0200)] 
Merge branch 'pending' into jankratochvil/unwind

12 years agoMerge branch 'jankratochvil/buildid-bias' into pending
Jan Kratochvil [Wed, 17 Oct 2012 20:21:29 +0000 (22:21 +0200)] 
Merge branch 'jankratochvil/buildid-bias' into pending

Conflicts:
libdwfl/ChangeLog
libdwfl/dwfl_module_getdwarf.c
tests/ChangeLog
tests/run-addrname-test.sh

12 years agolibdwfl/
Jan Kratochvil [Wed, 17 Oct 2012 19:49:10 +0000 (21:49 +0200)] 
libdwfl/
2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwfl_module_getdwarf.c (mod_verify_build_id): New function with code
from ...
(__libdwfl_getelf): ... here.  Call it.

tests/
2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

* run-addrname-test.sh: New test for DSO with build-id bias.
* testfile69.core.bz2: New file.
* testfile69.so.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agolibdwfl/
Jan Kratochvil [Wed, 17 Oct 2012 20:04:24 +0000 (22:04 +0200)] 
libdwfl/
2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

* libdwfl.h (dwfl_module_getelf): Add __nonnull_attribute__.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agoMerge branch 'pending' into jankratochvil/unwind
Jan Kratochvil [Wed, 17 Oct 2012 19:54:45 +0000 (21:54 +0200)] 
Merge branch 'pending' into jankratochvil/unwind

12 years agoMerge branch 'jankratochvil/buildid-bias' into pending
Jan Kratochvil [Wed, 17 Oct 2012 19:54:36 +0000 (21:54 +0200)] 
Merge branch 'jankratochvil/buildid-bias' into pending

Conflicts:
libdwfl/ChangeLog
tests/ChangeLog
tests/run-addrname-test.sh

12 years agolibdwfl/
Jan Kratochvil [Wed, 17 Oct 2012 19:49:10 +0000 (21:49 +0200)] 
libdwfl/
2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwfl_module_getdwarf.c (__libdwfl_getelf): Do not return yet on
matching build-id.  Check ELFERR before closing this MOD file.

tests/
2012-10-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

* run-addrname-test.sh: New test for DSO with build-id bias.
* testfile69.core.bz2: New file.
* testfile69.so.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
12 years agoEven more #include cleanups.
Jan Kratochvil [Mon, 15 Oct 2012 14:28:38 +0000 (16:28 +0200)] 
Even more #include cleanups.

12 years agoMore #include cleanups.
Jan Kratochvil [Mon, 15 Oct 2012 14:26:06 +0000 (16:26 +0200)] 
More #include cleanups.

12 years agoMore patch cleanup.
Jan Kratochvil [Mon, 15 Oct 2012 14:15:41 +0000 (16:15 +0200)] 
More patch cleanup.

12 years ago.
Jan Kratochvil [Mon, 15 Oct 2012 14:09:13 +0000 (16:09 +0200)] 
.