[Bug backends/27925] riscv backend only provides return value locations for code compiled for LP64D ABI

wilson at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Sep 20 02:29:23 GMT 2021


--- Comment #5 from Jim Wilson <wilson at gcc dot gnu.org> ---
I hadn't thought about the kernel.  It is compiled LP64 and with the FP
extensions disabled, to avoid accidentally using FP registers.  It does
save/restore FP registers in the context switching code, but otherwise doesn't
use FP registers, so that we don't have to save/restore FP registers in system
calls.  If there are no FP types in the kernel then LP64D will behave
identically to LP64.  But if you have a testsuite that checks all features,
then we would have to implement LP64 correctly, and your patch is a step in the
right direction.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list