public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug backends/27925] New: riscv backend only provides return value locations for code compiled for LP64D ABI
@ 2021-05-27 18:58 wcohen at redhat dot com
  2021-09-18 21:18 ` [Bug backends/27925] " wcohen at redhat dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: wcohen at redhat dot com @ 2021-05-27 18:58 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=27925

            Bug ID: 27925
           Summary: riscv backend only provides return value locations for
                    code compiled for LP64D ABI
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: backends
          Assignee: unassigned at sourceware dot org
          Reporter: wcohen at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

When diagnosing why a port of systemtap to riscv wasn't able to get $return
values from functions I found that the elfutils riscv backend initialization
code only sets up the return value location handler for the riscv for code that
is compiled for hardware floating point (LP64D):

https://sourceware.org/git/?p=elfutils.git;a=blob;f=backends/riscv_init.c;h=551e7bb6d34942222a1627e98de91208ef8261af;hb=HEAD#l67

elfutils dwfl_module_return_value_location() should still be able to provide
the location of the return value for riscv code for the other ABIs besides
LP64D.

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-09-29 22:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 18:58 [Bug backends/27925] New: riscv backend only provides return value locations for code compiled for LP64D ABI wcohen at redhat dot com
2021-09-18 21:18 ` [Bug backends/27925] " wcohen at redhat dot com
2021-09-19 10:30 ` mark at klomp dot org
2021-09-19 16:45 ` wilson at gcc dot gnu.org
2021-09-19 23:22 ` wcohen at redhat dot com
2021-09-20  2:29 ` wilson at gcc dot gnu.org
2021-09-20  7:42 ` mark at klomp dot org
2021-09-23  3:26 ` wcohen at redhat dot com
2021-09-23 14:22 ` wilson at gcc dot gnu.org
2021-09-23 14:30 ` wilson at gcc dot gnu.org
2021-09-29 13:43 ` mark at klomp dot org
2021-09-29 17:02 ` wilson at gcc dot gnu.org
2021-09-29 20:13 ` wcohen at redhat dot com
2021-09-29 22:14 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).