From: Jan Kratochvil Date: Fri, 16 Nov 2012 16:31:10 +0000 (+0100) Subject: Merge branch 'jankratochvil/pie-core' into jankratochvil/forunwind X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80530ff117bdce7bf1a3b4925f9e9a42701e852e;p=thirdparty%2Felfutils.git Merge branch 'jankratochvil/pie-core' into jankratochvil/forunwind Conflicts: libdwfl/ChangeLog tests/ChangeLog tests/Makefile.am --- 80530ff117bdce7bf1a3b4925f9e9a42701e852e diff --cc libdwfl/ChangeLog index 914d69d9a,5f95b7c94..26873771e --- a/libdwfl/ChangeLog +++ b/libdwfl/ChangeLog @@@ -1,30 -1,14 +1,41 @@@ +2012-10-27 Jan Kratochvil + + * dwfl_report_elf.c (__libdwfl_report_elf): Remove BASE aligning. + +2012-10-27 Jan Kratochvil + + * dwfl_report_elf.c (__libdwfl_report_elf): Simplify START and BIAS + calculation. + +2012-10-17 Jan Kratochvil + + * 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. + +2012-10-27 Jan Kratochvil + + * 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. + + 2012-10-27 Jan Kratochvil + + * 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. + 2012-10-17 Jan Kratochvil * dwfl_module_getdwarf.c (mod_verify_build_id): New function with code diff --cc tests/ChangeLog index 9b6a4c993,1f0eb34b4..21a232807 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@@ -1,14 -1,11 +1,22 @@@ +2012-10-27 Jan Kratochvil + + * 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. + + 2012-10-27 Jan Kratochvil + + * 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 . + 2012-10-27 Jan Kratochvil * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2, diff --cc tests/Makefile.am index a1ed28413,6808bd134..412644159 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@@ -181,8 -181,7 +181,9 @@@ EXTRA_DIST = run-arextract.sh run-arsym run-readelf-vmcoreinfo.sh testfile62.bz2 \ run-readelf-mixed-corenote.sh testfile63.bz2 testfile64.bz2 \ testfile65.bz2 testfile69.core.bz2 testfile69.so.bz2 \ - testfile70.core.bz2 testfile70.exec.bz2 ++ testfile70.core.bz2 testfile70.exec.bz2 \ + run-dwfl-report-elf-align.sh \ + testfile-dwfl-report-elf-align-shlib.so.bz2 if USE_VALGRIND valgrind_cmd="valgrind -q --trace-children=yes --error-exitcode=1"