summaryrefslogtreecommitdiff
path: root/src/ppc64
diff options
context:
space:
mode:
authorDave Watson <davejwatson@fb.com>2017-12-28 09:38:33 -0800
committerDave Watson <davejwatson@fb.com>2018-01-03 10:23:20 -0800
commit43934dae8300ef0ae270c9dac3e4209c002da8de (patch)
tree5009f555bf20119c1899442346c899be8c7407ca /src/ppc64
parentc73a0f4d4e0f1ea9288f9b7bc56d904d5dc25843 (diff)
downloadlibunwind-43934dae8300ef0ae270c9dac3e4209c002da8de.tar.gz
ALIAS unwind_get_accessors
Diffstat (limited to 'src/ppc64')
-rw-r--r--src/ppc64/Gstep.c2
-rw-r--r--src/ppc64/get_func_addr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ppc64/Gstep.c b/src/ppc64/Gstep.c
index ad6c0957..f44e9591 100644
--- a/src/ppc64/Gstep.c
+++ b/src/ppc64/Gstep.c
@@ -448,7 +448,7 @@ unw_step (unw_cursor_t * cursor)
{
unw_word_t ip = c->dwarf.ip;
unw_addr_space_t as = c->dwarf.as;
- unw_accessors_t *a = unw_get_accessors (as);
+ unw_accessors_t *a = unw_get_accessors_int (as);
void *arg = c->dwarf.as_arg;
uint32_t toc_save = (as->abi == UNW_PPC64_ABI_ELFv2)? 24 : 40;
int32_t inst;
diff --git a/src/ppc64/get_func_addr.c b/src/ppc64/get_func_addr.c
index 13abb7db..80a58fa1 100644
--- a/src/ppc64/get_func_addr.c
+++ b/src/ppc64/get_func_addr.c
@@ -36,7 +36,7 @@ tdep_get_func_addr (unw_addr_space_t as, unw_word_t addr,
unw_accessors_t *a;
int ret;
- a = unw_get_accessors (as);
+ a = unw_get_accessors_int (as);
/* Entry-point is stored in the 1st word of the function descriptor.
In case that changes in the future, we'd have to update the line
below and read the word at addr + offset: */