diff options
author | 2018-10-21 05:08:35 +0000 | |
---|---|---|
committer | 2018-10-21 05:08:35 +0000 | |
commit | def71959deb2deb81d76c49c6917229abc5ea77b (patch) | |
tree | 9bb3be5704bd5174cbbdfd0929668756991eef8a /lib/libunwind/src/libunwind.cpp | |
parent | Enable the integrated assembler on mips64. (diff) | |
download | wireguard-openbsd-def71959deb2deb81d76c49c6917229abc5ea77b.tar.xz wireguard-openbsd-def71959deb2deb81d76c49c6917229abc5ea77b.zip |
Backport libunwind hardware floating point handling for mips64.
Upstream reference:
https://reviews.llvm.org/D41968
OK kettenis@
Diffstat (limited to 'lib/libunwind/src/libunwind.cpp')
-rw-r--r-- | lib/libunwind/src/libunwind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libunwind/src/libunwind.cpp b/lib/libunwind/src/libunwind.cpp index d94c8cfb955..632535ac470 100644 --- a/lib/libunwind/src/libunwind.cpp +++ b/lib/libunwind/src/libunwind.cpp @@ -61,9 +61,9 @@ _LIBUNWIND_EXPORT int unw_init_local(unw_cursor_t *cursor, # define REGISTER_KIND Registers_arm #elif defined(__or1k__) # define REGISTER_KIND Registers_or1k -#elif defined(__mips__) && defined(_ABIO32) && defined(__mips_soft_float) +#elif defined(__mips__) && defined(_ABIO32) # define REGISTER_KIND Registers_mips_o32 -#elif defined(__mips__) && defined(_ABI64) && defined(__mips_soft_float) +#elif defined(__mips__) && defined(_ABI64) # define REGISTER_KIND Registers_mips_n64 #elif defined(__mips__) # warning The MIPS architecture is not supported with this ABI and environment! |