diff mbox series

[v3,18/19] Documentation for the RISC-V 32-bit port

Message ID b070afec747518bcb2c220b5bd6210e92d2fd094.1594568655.git.alistair.francis@wdc.com
State New
Headers show
Series glibc port for 32-bit RISC-V (RV32) | expand

Commit Message

Alistair Francis July 12, 2020, 3:48 p.m. UTC
There is already RISC-V 64-bit port information in the documentation.
Let's add some documentation entries for the RISC-V 32-bit as well.
---
 NEWS   | 6 ++++++
 README | 1 +
 2 files changed, 7 insertions(+)

Comments

Adhemerval Zanella Netto July 13, 2020, 5:17 p.m. UTC | #1
On 12/07/2020 12:48, Alistair Francis via Libc-alpha wrote:
> There is already RISC-V 64-bit port information in the documentation.
> Let's add some documentation entries for the RISC-V 32-bit as well.
> ---
>  NEWS   | 6 ++++++
>  README | 1 +
>  2 files changed, 7 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index 92dcb77fef..958f676b6f 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -89,6 +89,12 @@ Major new features:
>    support, otherwise runtime objects linked into user code will not be
>    BTI compatible.
>  
> +* Support RISC-V port for 32-bit. The ISA and ABI pairs supported as follows:
> +
> +    - rv32imac ilp32
> +    - rv32imafdc ilp32
> +    - rv32imafdc ilp32d
> +

Could you extend it by adding the minimum required gcc, binutils, and Linux
version?


>  Deprecated and removed features, and other changes affecting compatibility:
>  
>  * Remove configure option --enable-obsolete-nsl.  libnsl is only built
> diff --git a/README b/README
> index 903f07e484..d0f0edb393 100644
> --- a/README
> +++ b/README
> @@ -39,6 +39,7 @@ The GNU C Library supports these configurations for using Linux kernels:
>  	powerpc64*-*-linux-gnu	Big-endian and little-endian.
>  	s390-*-linux-gnu
>  	s390x-*-linux-gnu
> +	riscv32-*-linux-gnu
>  	riscv64-*-linux-gnu
>  	sh[34]-*-linux-gnu
>  	sparc*-*-linux-gnu
>
Alistair Francis July 14, 2020, 1:28 p.m. UTC | #2
On Mon, Jul 13, 2020 at 10:25 AM Adhemerval Zanella via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
>
>
> On 12/07/2020 12:48, Alistair Francis via Libc-alpha wrote:
> > There is already RISC-V 64-bit port information in the documentation.
> > Let's add some documentation entries for the RISC-V 32-bit as well.
> > ---
> >  NEWS   | 6 ++++++
> >  README | 1 +
> >  2 files changed, 7 insertions(+)
> >
> > diff --git a/NEWS b/NEWS
> > index 92dcb77fef..958f676b6f 100644
> > --- a/NEWS
> > +++ b/NEWS
> > @@ -89,6 +89,12 @@ Major new features:
> >    support, otherwise runtime objects linked into user code will not be
> >    BTI compatible.
> >
> > +* Support RISC-V port for 32-bit. The ISA and ABI pairs supported as follows:
> > +
> > +    - rv32imac ilp32
> > +    - rv32imafdc ilp32
> > +    - rv32imafdc ilp32d
> > +
>
> Could you extend it by adding the minimum required gcc, binutils, and Linux
> version?

Done!

Alistair

>
>
> >  Deprecated and removed features, and other changes affecting compatibility:
> >
> >  * Remove configure option --enable-obsolete-nsl.  libnsl is only built
> > diff --git a/README b/README
> > index 903f07e484..d0f0edb393 100644
> > --- a/README
> > +++ b/README
> > @@ -39,6 +39,7 @@ The GNU C Library supports these configurations for using Linux kernels:
> >       powerpc64*-*-linux-gnu  Big-endian and little-endian.
> >       s390-*-linux-gnu
> >       s390x-*-linux-gnu
> > +     riscv32-*-linux-gnu
> >       riscv64-*-linux-gnu
> >       sh[34]-*-linux-gnu
> >       sparc*-*-linux-gnu
> >
Maciej W. Rozycki July 15, 2020, 12:53 a.m. UTC | #3
On Sun, 12 Jul 2020, Alistair Francis via Libc-alpha wrote:

> diff --git a/NEWS b/NEWS
> index 92dcb77fef..958f676b6f 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -89,6 +89,12 @@ Major new features:
>    support, otherwise runtime objects linked into user code will not be
>    BTI compatible.
>  
> +* Support RISC-V port for 32-bit. The ISA and ABI pairs supported as follows:

 These really ought to be proper sentences and document the extra kernel 
version requirement, so how about (pinching from the original RV64 note):

* Support for the RISC-V ISA running on Linux has been expanded to run on 
  32-bit hardware.  This requires at least Linux 5.4 and is supported for 
  the following ISA and ABI pairs:

?

  Maciej
Alistair Francis July 22, 2020, 4:33 p.m. UTC | #4
On Tue, Jul 14, 2020 at 5:53 PM Maciej W. Rozycki via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> On Sun, 12 Jul 2020, Alistair Francis via Libc-alpha wrote:
>
> > diff --git a/NEWS b/NEWS
> > index 92dcb77fef..958f676b6f 100644
> > --- a/NEWS
> > +++ b/NEWS
> > @@ -89,6 +89,12 @@ Major new features:
> >    support, otherwise runtime objects linked into user code will not be
> >    BTI compatible.
> >
> > +* Support RISC-V port for 32-bit. The ISA and ABI pairs supported as follows:
>
>  These really ought to be proper sentences and document the extra kernel
> version requirement, so how about (pinching from the original RV64 note):
>
> * Support for the RISC-V ISA running on Linux has been expanded to run on
>   32-bit hardware.  This requires at least Linux 5.4 and is supported for
>   the following ISA and ABI pairs:

Updated.

Alistair

>
> ?
>
>   Maciej
diff mbox series

Patch

diff --git a/NEWS b/NEWS
index 92dcb77fef..958f676b6f 100644
--- a/NEWS
+++ b/NEWS
@@ -89,6 +89,12 @@  Major new features:
   support, otherwise runtime objects linked into user code will not be
   BTI compatible.
 
+* Support RISC-V port for 32-bit. The ISA and ABI pairs supported as follows:
+
+    - rv32imac ilp32
+    - rv32imafdc ilp32
+    - rv32imafdc ilp32d
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * Remove configure option --enable-obsolete-nsl.  libnsl is only built
diff --git a/README b/README
index 903f07e484..d0f0edb393 100644
--- a/README
+++ b/README
@@ -39,6 +39,7 @@  The GNU C Library supports these configurations for using Linux kernels:
 	powerpc64*-*-linux-gnu	Big-endian and little-endian.
 	s390-*-linux-gnu
 	s390x-*-linux-gnu
+	riscv32-*-linux-gnu
 	riscv64-*-linux-gnu
 	sh[34]-*-linux-gnu
 	sparc*-*-linux-gnu