This makes libunwind build on OpenBSD/arm. And it even works if you
compile the code that uses exceptions with the right compiler options.
ok?
Index: src/AddressSpace.hpp
===================================================================
RCS file: /cvs/src/lib/libunwind/src/AddressSpace.hpp,v
retrieving revision 1.3
diff -u -p -r1.3 AddressSpace.hpp
--- src/AddressSpace.hpp 5 Sep 2016 18:49:19 -0000 1.3
+++ src/AddressSpace.hpp 18 Sep 2016 06:11:29 -0000
@@ -35,7 +35,7 @@ namespace libunwind {
#include "Registers.hpp"
#if _LIBUNWIND_ARM_EHABI
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
typedef void *_Unwind_Ptr;