summaryrefslogtreecommitdiff
path: root/gprofng/libcollector/unwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng/libcollector/unwind.c')
-rw-r--r--gprofng/libcollector/unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprofng/libcollector/unwind.c b/gprofng/libcollector/unwind.c
index f8e11823c81..009b5ab8456 100644
--- a/gprofng/libcollector/unwind.c
+++ b/gprofng/libcollector/unwind.c
@@ -232,7 +232,7 @@ memory_error_func (int status ATTRIBUTE_UNUSED, bfd_vma addr ATTRIBUTE_UNUSED,
#elif ARCH(Aarch64)
#define FILL_CONTEXT(context) \
- { getcontext(context); \
+ { CALL_UTIL (getcontext) (context); \
context->uc_mcontext.sp = (__u64) __builtin_frame_address(0); \
}