]> git.ipfire.org Git - thirdparty/elfutils.git/commit
backends/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 10 Oct 2012 07:48:10 +0000 (09:48 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 27 Oct 2012 20:36:16 +0000 (22:36 +0200)
commit18ba6d08cbefef833b757bdcfefbc4b7900c5678
treec599197678580e2f877f32f65f799b22b647252a
parentd7ed0254bcdeeed0ed2b69d864afcd9d5492d0a0
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>
16 files changed:
backends/ChangeLog
backends/Makefile.am
backends/ppc64_get_func_pc.c [new file with mode: 0644]
backends/ppc64_init.c
libdwfl/ChangeLog
libdwfl/dwfl_module_addrsym.c
libebl/ChangeLog
libebl/Makefile.am
libebl/ebl-hooks.h
libebl/eblgetfuncpc.c [new file with mode: 0644]
libebl/libebl.h
libebl/libeblP.h
tests/ChangeLog
tests/Makefile.am
tests/run-addrname-test.sh
tests/testfile66.bz2 [new file with mode: 0755]