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

Andreas Schwab schwab@suse.de
Wed Jul 11 13:40:00 GMT 2018


On Jun 20 2018, Mark Wielaard <mark@klomp.org> 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 handle SETX).

> They are not used much though and only against .debug_frame. So
> if you get RISC_ADD/SUB going that probably handles most uses.

Both size --reloc-debug-sections and readelf -wframe need to handle all
relocs, including SET6/ADD6/SUB6.

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