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

Andreas Schwab schwab@suse.de
Mon Jun 18 08:01:00 GMT 2018


On Jun 15 2018, Mark Wielaard <mark@klomp.org> wrote:

> How does the result of make check look now on a native riscv system?

FAIL: run-native-test.sh

return_value_location is missing

FAIL: run-low_high_pc.sh

lowpc: 220, highpc: 220lx
../../elfutils/src/size.c: [c84] 'handle_elf' highpc <= lowpc

lowpc: 41c, highpc: 41clx
../../elfutils/src/strip.c: [1c00] 'update_section_size' highpc <= lowpc

FAIL: run-backtrace-native.sh
FAIL: run-backtrace-dwarf.sh
FAIL: run-deleted.sh

set_initial_registers_tid is missing

FAIL: run-backtrace-native-core.sh

no corefile support

SKIP: run-backtrace-data.sh

no unwinding support

> Could you provide a testcase for tests/run-allregs.sn and/or
> tests/run-addrcfi.sh if possible so people can check things work on
> other arches?
>
> If this is enough to actually unwind could you look at providing an
> tests/run-backtrace-core-riscv.sh testcase (the existing ones should
> explain how to generate the (static) executable and core file for the
> test, but if it is unclear please ask.

I will work on these.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Elfutils-devel mailing list