[PATCH] backends: add abi_cfi and register_info callbacks for RISC-V
Mark Wielaard
mark@klomp.org
Thu Jul 26 16:03:00 GMT 2018
On Tue, 2018-07-24 at 16:13 +0200, Andreas Schwab wrote:
> How about this, does it look reasonable? It doesn't handle SET6/SUB6
> yet, and eu-readelf -wframe doesn't agree with readelf -wf, so this
> is only a RFC.
I don't really like adding not really existing types to the translation
types ELF_T_... I rather see the add/sub part be done as extra argument
to the reloc_simple_type callback. Maybe simply as an int addsub, which
can be -1, 0, 1. It does mean more code needs to be adjusted, but this
is an internal interface, so it can just be changed.
Thanks,
Mark
More information about the Elfutils-devel
mailing list