From: Jan Kratochvil Date: Fri, 16 Nov 2012 16:32:14 +0000 (+0100) Subject: Merge branch 'jankratochvil/ppc64-opd' into jankratochvil/forunwind X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=735412ccf1c5bb9473d90df7252ed8be06915162;p=thirdparty%2Felfutils.git Merge branch 'jankratochvil/ppc64-opd' into jankratochvil/forunwind Conflicts: backends/ChangeLog libdwfl/ChangeLog tests/Makefile.am --- 735412ccf1c5bb9473d90df7252ed8be06915162 diff --cc backends/ChangeLog index 388e22e1a,a090167a0..f1c6be7ed --- a/backends/ChangeLog +++ b/backends/ChangeLog @@@ -1,16 -1,10 +1,23 @@@ +2012-10-14 Jan Kratochvil + Roland McGrath + + * 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. + + 2012-10-27 Jan Kratochvil + + * 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. + 2012-10-12 Jan Kratochvil * linux-core-note.c (prstatus_items): Rename groups of sigpend and diff --cc libdwfl/ChangeLog index 26873771e,a72ca686e..76d9257ae --- a/libdwfl/ChangeLog +++ b/libdwfl/ChangeLog @@@ -1,41 -1,12 +1,50 @@@ +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-27 Jan Kratochvil + + * 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. + 2012-10-17 Jan Kratochvil * dwfl_module_getdwarf.c (mod_verify_build_id): New function with code diff --cc tests/ChangeLog index 21a232807,2100cc7cb..403c7853b --- a/tests/ChangeLog +++ b/tests/ChangeLog @@@ -1,22 -1,9 +1,28 @@@ + 2012-10-27 Jan Kratochvil + + * run-addrname-test.sh: New testcase for ppc64 function descriptors. + * testfile66.bz2: New file. + * Makefile.am (EXTRA_DIST): Add testfile66.bz2. + +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 412644159,975ef5c79..0623a0fbd --- a/tests/Makefile.am +++ b/tests/Makefile.am @@@ -180,10 -180,7 +180,10 @@@ EXTRA_DIST = run-arextract.sh run-arsym testfile60.bz2 testfile61.bz2 \ 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 \ - testfile65.bz2 testfile69.core.bz2 testfile69.so.bz2 testfile66.bz2 ++ testfile65.bz2 testfile66.bz2 testfile69.core.bz2 \ ++ testfile69.so.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"