]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge branch 'jankratochvil/ppc64-opd' into jankratochvil/forunwind
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 16 Nov 2012 16:32:14 +0000 (17:32 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 16 Nov 2012 16:32:14 +0000 (17:32 +0100)
Conflicts:
backends/ChangeLog
libdwfl/ChangeLog
tests/Makefile.am

1  2 
backends/ChangeLog
libdwfl/ChangeLog
tests/ChangeLog
tests/Makefile.am

index 388e22e1a93e943f4334feedbc98c1bef743c1a9,a090167a0d86bef352803215381f5908b1656187..f1c6be7ed5ff28b4f31dfdaf09a1dae9ba8c6614
@@@ -1,16 -1,10 +1,23 @@@
 +2012-10-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
 +          Roland McGrath <roland@hack.frob.com>
 +
 +      * 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  <jan.kratochvil@redhat.com>
+       * 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  <jan.kratochvil@redhat.com>
  
        * linux-core-note.c (prstatus_items): Rename groups of sigpend and
index 26873771e763f91d5864912ecef7b568e10e075e,a72ca686e08ed653977c3f432887bc6391354d84..76d9257aeb922ad448b5344bd9ccf19c48666953
@@@ -1,41 -1,12 +1,50 @@@
 +2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
 +
 +      * dwfl_report_elf.c (__libdwfl_report_elf): Remove BASE aligning.
 +
 +2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
 +
 +      * dwfl_report_elf.c (__libdwfl_report_elf): Simplify START and BIAS
 +      calculation.
 +
 +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.
 +
 +2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
 +
 +      * 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  <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.
 +
+ 2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+       * 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  <jan.kratochvil@redhat.com>
  
        * dwfl_module_getdwarf.c (mod_verify_build_id): New function with code
diff --cc tests/ChangeLog
index 21a2328070800d1a9bcd1929665258fc26407e42,2100cc7cba57cfd0fe1b4b18a98cf70cb5951522..403c7853bf61cb22c08bad7b7a75871485c25202
@@@ -1,22 -1,9 +1,28 @@@
+ 2012-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+     
+       * 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  <jan.kratochvil@redhat.com>
 +
 +      * 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  <jan.kratochvil@redhat.com>
 +
 +      * 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  <jan.kratochvil@redhat.com>
  
        * Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
index 412644159ff7e2f1eef98d097c8cffccd1e7ec6f,975ef5c795baf48ce41551990b864a48d4663314..0623a0fbd07a6113ae0f595e4c71853a5c67ba1b
@@@ -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"