[v4,01/13] LoongArch: Update NEWS and README for the LoongArch port.
Commit Message
---
NEWS | 9 +++++++++
README | 1 +
manual/math.texi | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
Comments
On 08/05/2022 23:25, caiyinyu wrote:
> ---
> NEWS | 9 +++++++++
> README | 1 +
> manual/math.texi | 2 +-
> 3 files changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/NEWS b/NEWS
> index ef8ac4acd2..65070282bb 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -16,6 +16,15 @@ Major new features:
> -z pack-relative-relocs option, which is supported for some targets
> in recent binutils versions. Lazy binding doesn't apply to DT_RELR.
>
> +* Support for LoongArch running on Linux has been added. This port requires
> + as least binutils 2.38, GCC 12, and Linux 10.0.0. Currently only hard-float
I think you mean Linux 5.19 here.
> + ABI is supported:
> +
> + - loongarch64-linux-gnu
> +
> + The LoongArch ABI is 64-bit little-endian and uses 64-bit time (y2038 safe) and
> + 64-bit file offsets (LFS default).
I think you can omit the 64-bit time and LFS support, since both are default
for all 64-bit architectures.
Is the name 'loongarch64' implying a ILP32 variation in the future?
> +
> Deprecated and removed features, and other changes affecting compatibility:
>
> * Support for prelink will be removed in the next release; this includes
> diff --git a/README b/README
> index 3d5a78ccff..63f3a1bebf 100644
> --- a/README
> +++ b/README
> @@ -31,6 +31,7 @@ The GNU C Library supports these configurations for using Linux kernels:
> i[4567]86-*-linux-gnu
> x86_64-*-linux-gnu Can build either x86_64 or x32
> ia64-*-linux-gnu
> + loongarch64-*-linux-gnu Hardware floating point, LE only.
> m68k-*-linux-gnu
> microblaze*-*-linux-gnu
> mips-*-linux-gnu
> diff --git a/manual/math.texi b/manual/math.texi
> index 477a18b6d1..105d6122df 100644
> --- a/manual/math.texi
> +++ b/manual/math.texi
> @@ -70,7 +70,7 @@ provided for @code{_Float32}, @code{_Float64} and @code{_Float32x} on
> all platforms.
> It is also provided for @code{_Float128} and @code{_Float64x} on
> powerpc64le (PowerPC 64-bits little-endian), x86_64, x86, ia64,
> -aarch64, alpha, mips64, riscv, s390 and sparc.
> +aarch64, alpha, loongarch, mips64, riscv, s390 and sparc.
>
> @menu
> * Mathematical Constants:: Precise numeric values for often-used
@@ -16,6 +16,15 @@ Major new features:
-z pack-relative-relocs option, which is supported for some targets
in recent binutils versions. Lazy binding doesn't apply to DT_RELR.
+* Support for LoongArch running on Linux has been added. This port requires
+ as least binutils 2.38, GCC 12, and Linux 10.0.0. Currently only hard-float
+ ABI is supported:
+
+ - loongarch64-linux-gnu
+
+ The LoongArch ABI is 64-bit little-endian and uses 64-bit time (y2038 safe) and
+ 64-bit file offsets (LFS default).
+
Deprecated and removed features, and other changes affecting compatibility:
* Support for prelink will be removed in the next release; this includes
@@ -31,6 +31,7 @@ The GNU C Library supports these configurations for using Linux kernels:
i[4567]86-*-linux-gnu
x86_64-*-linux-gnu Can build either x86_64 or x32
ia64-*-linux-gnu
+ loongarch64-*-linux-gnu Hardware floating point, LE only.
m68k-*-linux-gnu
microblaze*-*-linux-gnu
mips-*-linux-gnu
@@ -70,7 +70,7 @@ provided for @code{_Float32}, @code{_Float64} and @code{_Float32x} on
all platforms.
It is also provided for @code{_Float128} and @code{_Float64x} on
powerpc64le (PowerPC 64-bits little-endian), x86_64, x86, ia64,
-aarch64, alpha, mips64, riscv, s390 and sparc.
+aarch64, alpha, loongarch, mips64, riscv, s390 and sparc.
@menu
* Mathematical Constants:: Precise numeric values for often-used