diff options
author | Zhaofeng Li <hello@zhaofeng.li> | 2021-06-25 20:32:54 +0000 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2021-07-06 11:49:20 -0700 |
commit | abd15da8afb35b92ed0cb2c47f6564775b976c24 (patch) | |
tree | f68f51c6e7f91f1a78ace1646ddbc803dda4ecf6 /include/tdep | |
parent | bad872f653a31fd46fcbb64a60a266e26d7aaa77 (diff) | |
download | libunwind-abd15da8afb35b92ed0cb2c47f6564775b976c24.tar.gz |
Add port for Linux on RISC-V (riscv)
This commit adds support for Linux on RISC-V. Only 64-bit is supported
at the moment.
Diffstat (limited to 'include/tdep')
-rw-r--r-- | include/tdep/dwarf-config.h | 2 | ||||
-rw-r--r-- | include/tdep/jmpbuf.h | 2 | ||||
-rw-r--r-- | include/tdep/libunwind_i.h.in | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/tdep/dwarf-config.h b/include/tdep/dwarf-config.h index e27e2a23..0cfd079e 100644 --- a/include/tdep/dwarf-config.h +++ b/include/tdep/dwarf-config.h @@ -25,6 +25,8 @@ # include "tdep-x86_64/dwarf-config.h" #elif defined __tilegx__ # include "tdep-tilegx/dwarf-config.h" +#elif defined __riscv || defined __riscv__ +# include "tdep-riscv/dwarf-config.h" #else # error "Unsupported arch" #endif diff --git a/include/tdep/jmpbuf.h b/include/tdep/jmpbuf.h index 13093a0c..77d35c3d 100644 --- a/include/tdep/jmpbuf.h +++ b/include/tdep/jmpbuf.h @@ -23,6 +23,8 @@ # include "tdep-x86_64/jmpbuf.h" #elif defined __tilegx__ # include "tdep-tilegx/jmpbuf.h" +#elif defined __riscv || defined __riscv__ +# include "tdep-riscv/jmpbuf.h" #else # error "Unsupported arch" #endif diff --git a/include/tdep/libunwind_i.h.in b/include/tdep/libunwind_i.h.in index c4729964..a40f7cf6 100644 --- a/include/tdep/libunwind_i.h.in +++ b/include/tdep/libunwind_i.h.in @@ -27,6 +27,8 @@ # include "tdep-tilegx/libunwind_i.h" #elif defined __s390x__ # include "tdep-s390x/libunwind_i.h" +#elif defined __riscv || defined __riscv__ +# include "tdep-riscv/libunwind_i.h" #else # error "Unsupported arch" #endif |