Re: [PATCH] backends: add abi_cfi and register_info callbacks for RISC-V

2018-07-11 Thread Andreas Schwab
On Jun 20 2018, Mark Wielaard wrote: > aha, ok, but it looks like RISCV_(ADD|SUB)(8|16|32|64) should not be > too hard to handle. The other ones (RISCV_SETX) might be a little > harder. The SETX relocs are simple absolute relocs (SET32 is the same as 32, but the dynamic linker does not need to h

[PATCH] backends: add set_initial_registers_tid callback for RISC-V

2018-07-11 Thread Andreas Schwab
This fixes the backtrace-dwarf and deleted tests, and lets backtrace-native run a bit further. Signed-off-by: Andreas Schwab --- backends/ChangeLog | 6 backends/Makefile.am | 3 +- backends/riscv_init.c| 1 + backends/riscv_initreg.c | 77 ++