This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] RISC-V: Add initial return value location support.
- From: Jim Wilson <jimw at sifive dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: elfutils-devel at sourceware dot org
- Date: Thu, 10 Jan 2019 10:56:21 -0800
- Subject: Re: [PATCH] RISC-V: Add initial return value location support.
- References: <20181227232611.16761-1-jimw@sifive.com> <4a2ed47996f5eddba5988d54d2d8075908efd82b.camel@klomp.org>
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