This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] RISC-V: Add initial return value location support.


On Thu, Jan 10, 2019 at 4:26 AM Mark Wielaard <mark@klomp.org> wrote:
> The comments explain things well, but it would be good to have official
> references to the calling convention and DWARF register mappings.
> The calling convention is explained in:
>
> https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md#procedure-calling-convention
> But I couldn't find an official DWARF register mapping.
> If you have references I like to add them to the code.

There is an issue asking us to add DWARF register mappings.  This was
filed before gdb was upstream and so some the comments are out of
date, but most of the info is still correct.
https://github.com/riscv/riscv-elf-psabi-doc/issues/70
I guess I should put that on my to do list to finish this now.

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]