* [PATCH] RISC-V's ld.so assumes the standard calling convention
@ 2022-01-20 1:31 Palmer Dabbelt
0 siblings, 0 replies; only message in thread
From: Palmer Dabbelt @ 2022-01-20 1:31 UTC (permalink / raw)
To: libc-alpha
The RISC-V port has always required that lazily bound functions are
compatible with the standard calling convention, so document that
behavior explicitly.
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
---
There was a long-outstading bug against the psABI that was recently
resolved to a different conclusion thus putting us at odds with the
spec. There's an on-going discussion about how we're going to handle
that divergence, but regardless of which direction that goes we're still
in this spot now so we might as well document it.
---
manual/platform.texi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/manual/platform.texi b/manual/platform.texi
index d5fdc5bd05..9153408966 100644
--- a/manual/platform.texi
+++ b/manual/platform.texi
@@ -121,6 +121,9 @@ when it is not allowed, the priority is set to medium.
@node RISC-V
@appendixsec RISC-V-specific Facilities
+Functions that are lazily bound must be compatible with the standard calling
+convention.
+
Cache management facilities specific to RISC-V systems that implement the Linux
ABI are declared in @file{sys/cachectl.h}.
--
2.32.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-20 1:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 1:31 [PATCH] RISC-V's ld.so assumes the standard calling convention Palmer Dabbelt
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).