From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125663 invoked by alias); 10 Jan 2019 18:56:35 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 125652 invoked by uid 89); 10 Jan 2019 18:56:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-HELO:sk:mail-vk X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-vk1-f182.google.com Received: from mail-vk1-f182.google.com (HELO mail-vk1-f182.google.com) (209.85.221.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 Jan 2019 18:56:33 +0000 Received: by mail-vk1-f182.google.com with SMTP id t127so2715177vke.8 for ; Thu, 10 Jan 2019 10:56:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BbS3NxHqf8TqOO7CzTfUO8uZ0/qUVL1vfL2ZRa9kXPQ=; b=WJd5GvsHfia73P05xDnxDX//Qr2x+OMh6V67fOOyRU5ohXLeen/iQ0L7gvmqEqIL81 vNEsDXHCixYAlyAOvrHtrTQZM9F21BFvFeNitPpmh0FiSiZjVk9KOagrHR/FW941Esfm F70WnWzYmZzzSDHdMdywHmiA8MG54/cBuD6zxpdoAq2FTd6ymD0RbNhx5eGXH7l423MC ZRFDUKJeT1VX3fbXiuogyR/aVQ0EOy0kdUJwKrTr6VwLHHFWnViXQXjEiRwws6JwWQSv C7SgGqm3OU3LsrHi7ig/9LGxFv3SIbwwZaxXEDOl+zImVRS/fJH872taw+DFrY+t1Ky2 Eyqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BbS3NxHqf8TqOO7CzTfUO8uZ0/qUVL1vfL2ZRa9kXPQ=; b=GHWfRoVDsWfqJm/wB9bSuivSNUAIcOZCyvQ8hp7Gq/Wevs1PVOEzun7KyBvCS363I7 87YESnGS8LPwliChyMR3BOfprR494nluiyq8cUSSdr2jPDtg+uoNZLr8tWia4Q56styI Ae4LmfjGisQ24MnYibl06RBNmVm/ztCGPBr9RegXSI9GUEPWdkiJLZr/VHVrVFc8usLd UrE1JrpfFiFh1VT/oYMo7qvluus5FFUGN7MwSsYU/iBXImvl5y8rC6VHfVOF7lNL6KCA hI7mdIM0h4DRK3iy93PiR8MlasUEIsimbdfoFNF4X4cgdtianpur5C6MvwpefOmQxtjU q66g== X-Gm-Message-State: AJcUukfWpWYoXJkrIWCfgHLv1KjwLm/i17YrZmnpNkesHX6u7ITDwDoU CiWY+jH9KO/gbHBCeRgOeTbRlwB/J2NlyyigXu9hokJTc/I= X-Google-Smtp-Source: ALg8bN7ETxmMvM3HYPOel7uGDGvpZuvP9dQNPrexW9JIvpcCofJvFQVWi0j7GiWmbyUePPhrbni/m4rWjSDE/dBQ3Fc= X-Received: by 2002:a1f:9f0d:: with SMTP id i13mr4531158vke.6.1547146591906; Thu, 10 Jan 2019 10:56:31 -0800 (PST) MIME-Version: 1.0 References: <20181227232611.16761-1-jimw@sifive.com> <4a2ed47996f5eddba5988d54d2d8075908efd82b.camel@klomp.org> In-Reply-To: <4a2ed47996f5eddba5988d54d2d8075908efd82b.camel@klomp.org> From: Jim Wilson Date: Thu, 10 Jan 2019 18:56:00 -0000 Message-ID: Subject: Re: [PATCH] RISC-V: Add initial return value location support. To: Mark Wielaard Cc: elfutils-devel@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-q1/txt/msg00018.txt.bz2 On Thu, Jan 10, 2019 at 4:26 AM Mark Wielaard 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