From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3A22B3858406; Wed, 29 Sep 2021 22:14:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A22B3858406 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug backends/27925] riscv backend only provides return value locations for code compiled for LP64D ABI Date: Wed, 29 Sep 2021 22:14:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: backends X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2021 22:14:18 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27925 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #13 from Mark Wielaard --- (In reply to William Cohen from comment #12) > The patch for the retval handling has been submitted. Thanks. I added a ChangeLog entry, made some (GNU) code style changes and committed as: commit 2e57301be1bbb9c34f8a59122ab500de46eb7acb (HEAD -> master) Author: William Cohen Date: Wed Sep 29 14:56:15 2021 -0400 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 > As mentioned in > comment #9 testing is not trivial. Normal user-space executables are > compiled with floating-point enabled and those executables work fine with= out > the fixes. The LP64 and LP64F ABIs don't have the need start or libraries > to compile user-space tests. Leaving the testsuite for later considerati= on. OK. But even a testcase for the already working "normal" user-space would be appreciated. And we might be able to create a kernel module as testcase. --=20 You are receiving this mail because: You are on the CC list for the bug.=