summaryrefslogtreecommitdiff
path: root/src/aarch64
diff options
context:
space:
mode:
authormyfreeweb <greg@unrelenting.technology>2018-08-07 18:05:44 +0300
committerDave Watson <davejwatson@fb.com>2018-08-07 08:05:44 -0700
commitfe2e9438e8089828965d1d0e28028d7eb35a55d5 (patch)
treeca57966a960a489dd8279b594520ad21fa8148fd /src/aarch64
parent55ef85c50e4184c98c03e0c52ffb1c39b5201fab (diff)
downloadlibunwind-fe2e9438e8089828965d1d0e28028d7eb35a55d5.tar.gz
aarch64: fix freebsd support
implement _UPT_access_fpreg, _UCD_access_reg_freebsd for aarch64, and add a unw_fpsimd_context_t instead of using the one from the linux headers.
Diffstat (limited to 'src/aarch64')
-rw-r--r--src/aarch64/unwind_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aarch64/unwind_i.h b/src/aarch64/unwind_i.h
index 3d324c2b..db7e29dd 100644
--- a/src/aarch64/unwind_i.h
+++ b/src/aarch64/unwind_i.h
@@ -59,6 +59,6 @@ extern int aarch64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor,
} while (0)
#endif
-#define GET_FPCTX(uc) ((struct fpsimd_context *)(&uc->uc_mcontext.__reserved))
+#define GET_FPCTX(uc) ((unw_fpsimd_context_t *)(&uc->uc_mcontext.__reserved))
#endif /* unwind_i_h */