[libunwind] This adds support in libunwind for rv32 hard float
and soft-float for both rv32 and rv64.
Differential Revision: https://reviews.llvm.org/D80690
GitOrigin-RevId: b17d46430fce665d23661e23ade3ca57c3791836
diff --git a/src/libunwind.cpp b/src/libunwind.cpp
index c21461b..eb2623e 100644
--- a/src/libunwind.cpp
+++ b/src/libunwind.cpp
@@ -60,7 +60,7 @@
# warning The MIPS architecture is not supported with this ABI and environment!
#elif defined(__sparc__)
# define REGISTER_KIND Registers_sparc
-#elif defined(__riscv) && __riscv_xlen == 64
+#elif defined(__riscv)
# define REGISTER_KIND Registers_riscv
#elif defined(__ve__)
# define REGISTER_KIND Registers_ve