summaryrefslogtreecommitdiffstats
path: root/lib/libunwind/src/libunwind.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-06-17 22:28:47 +0000
committerpatrick <patrick@openbsd.org>2019-06-17 22:28:47 +0000
commit308ed93135e1e5919c16767bd98e8835e42e613b (patch)
tree96ea3d17c9198fdc432e974c60f2ce769bf38ec4 /lib/libunwind/src/libunwind.cpp
parentImport libunwind 8.0.0. (diff)
downloadwireguard-openbsd-308ed93135e1e5919c16767bd98e8835e42e613b.tar.xz
wireguard-openbsd-308ed93135e1e5919c16767bd98e8835e42e613b.zip
Merge libc++, libc++abi and libunwind version 8.0.0.
Ports build by naddy@ Tested by visa on octeon Tested by kettenis on macppc and sparc64
Diffstat (limited to 'lib/libunwind/src/libunwind.cpp')
-rw-r--r--lib/libunwind/src/libunwind.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libunwind/src/libunwind.cpp b/lib/libunwind/src/libunwind.cpp
index 20067994e7a..ecd0b03b4ed 100644
--- a/lib/libunwind/src/libunwind.cpp
+++ b/lib/libunwind/src/libunwind.cpp
@@ -69,6 +69,8 @@ _LIBUNWIND_EXPORT int unw_init_local(unw_cursor_t *cursor,
# warning The MIPS architecture is not supported with this ABI and environment!
#elif defined(__sparc__) && defined(__arch64__)
# define REGISTER_KIND Registers_sparc64
+#elif defined(__sparc__)
+# define REGISTER_KIND Registers_sparc
#else
# error Architecture not supported
#endif