RISC-V: PR27925 Add support for LP64 and LP64F ABIs return values
authorWilliam Cohen <wcohen@redhat.com>
Wed, 29 Sep 2021 18:56:15 +0000 (14:56 -0400)
committerMark Wielaard <mark@klomp.org>
Wed, 29 Sep 2021 22:09:38 +0000 (00:09 +0200)
commit2e57301be1bbb9c34f8a59122ab500de46eb7acb
tree268c2ba306dc0b142157294f4be6948f486a9f53
parent28db5f16c44fa7bbd24b221b65aa4d133753355c
RISC-V: PR27925 Add support for LP64 and LP64F ABIs return values

The RISC-V Linux kernel is compiled without floating point (the LP64
ABI) and elfutils could not obtain return value locations for
functions in the kernel.  This issue was noticed when Systemtap
generated RISC-V kernel modules for scripts that used $return target
variables in function return probes. This patch adds the needed
support to provide return value information for the LP64 and LP64F
ABIs.

Signed-off-by: William Cohen <wcohen@redhat.com>
backends/ChangeLog
backends/riscv_init.c
backends/riscv_retval.c