diff options
| author | William Cohen <[email protected]> | 2021-09-29 14:56:15 -0400 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2021-09-30 00:09:38 +0200 |
| commit | 2e57301be1bbb9c34f8a59122ab500de46eb7acb (patch) | |
| tree | 268c2ba306dc0b142157294f4be6948f486a9f53 /backends/ChangeLog | |
| parent | 28db5f16c44fa7bbd24b221b65aa4d133753355c (diff) | |
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 <[email protected]>
Diffstat (limited to 'backends/ChangeLog')
| -rw-r--r-- | backends/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index ac0e3187..b48af4e1 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,16 @@ +2021-09-29 William Cohen <[email protected]> + + * riscv_init.c (riscv_return_value_location_lp64f): New function + declaration. + (riscv_return_value_location_lp64): Likewise. + (riscv_init): Set return_value_location based on elf class and + ehdr flags. + * riscv_retval.c (riscv_return_value_location_lp64d): Renamed to... + (riscv_return_value_location_lp64ifd): ...this. Handle single, + double, float _Complex and double _Complex cases. + (riscv_return_value_location_lp64d): New function. + (riscv_return_value_location_lp64f): Likewise. + 2021-04-19 Martin Liska <[email protected]> * aarch64_symbol.c (aarch64_data_marker_symbol): Use startswith. |
