diff --git a/epiphany-fixes.diff b/epiphany-fixes.diff index 13ba3ba..986e9ac 100644 --- a/epiphany-fixes.diff +++ b/epiphany-fixes.diff @@ -11,3 +11,14 @@ Index: newlib-2.1.0/libgloss/epiphany/Makefile.in done info: install-info: +--- newlib-4.3.0.20230120/libgloss/epiphany/crt0.S.orig 2023-03-08 13:57:15.671910169 +0100 ++++ newlib-4.3.0.20230120/libgloss/epiphany/crt0.S 2023-03-08 13:57:27.135910057 +0100 +@@ -121,7 +121,7 @@ + #error "not implemented" + #else /* !__STRUCT_ALIGN_64__ */ + str r1, [r2, 0] ; __atexit = &__atexit0 +- movr r0, 1 ++ mov r0, 1 + str r0, [r1, 4] ; __atexit0._ind = 1 + mov r0,%low(fini) + movt r0,%high(fini) diff --git a/newlib-4.1.0.tar.gz b/newlib-4.1.0.tar.gz deleted file mode 100644 index d5cf75e..0000000 --- a/newlib-4.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154 -size 18648429 diff --git a/newlib-4.3.0.20230120.tar.xz b/newlib-4.3.0.20230120.tar.xz new file mode 100644 index 0000000..12dde4b --- /dev/null +++ b/newlib-4.3.0.20230120.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c53284298c95bc3bf2c7c252e9dac52977295b021194e75766b1e68f6191f10 +size 4871768 diff --git a/newlib.changes b/newlib.changes index d889cd1..90ed684 100644 --- a/newlib.changes +++ b/newlib.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Wed Mar 8 12:39:13 UTC 2023 - Richard Biener + +- Update to v4.3.0 + * remove i?86-pc-linux-gnu support + * remove decstation & sunos support + * remove phoenix OS support + * remove unused members from struct _reent (see also + --enable-newlib-reent-binary-compat) + * build system internals heavily rewritten & updated + * make arm jmp_buf size and alignment ABI-conformant + * fixed bug in arm setjmp/longjmp to preserve floating-point register + values + * add --enable-newlib-reent-thread-local configuration option + * add --enable-newlib-reent-binary-compat configuration option + * add 64-bit powerpc setjmp/longjmp support + * use global stdio streams for all configurations + * use global atexit data for all configurations + * vectorized math routines added for amdgcn platform + * nvptx: remove newlib ELIX level 1 restriction +- Already in v4.2.0 + * remove use of --cygnus option for automake + * rename configure.in files to configure.ac + * enable automake silent rules + * import gdtoa from OpenBSD + * update to Unicode 14.0 + * ignore _FORTIFY_SOURCE when building newlib + * fixes to ldtoa + * add clock support to nvptx port + * various pthread POSIX APIs added + * added implementatio for sig2str/str2sig + * strtod/strtof to set errno to ERANGE consistently for underflow + * fixed rounding issue with sqrt/sqrtf + * fixed heap fragmentation issue with nano-malloc + * FTW port for newlib + * additions to sys/tree.h +- Add makeinfo BuildRequires for building libgloss documentation +- Amend epiphany-fixes.diff with a build fix + ------------------------------------------------------------------- Sun Apr 24 16:55:14 UTC 2022 - Matwey Kornilov diff --git a/newlib.spec b/newlib.spec index d421b6f..c8c43af 100644 --- a/newlib.spec +++ b/newlib.spec @@ -44,19 +44,20 @@ # In the staging/ring projects, we don't want to build the unneeded packages %bcond_with ringdisabled Name: %{pname} -Version: 4.1.0 +Version: 4.3.0.20230120 Release: 0 Summary: C library intended for use on embedded systems License: BSD-3-Clause AND MIT AND LGPL-2.0-or-later AND ISC Group: Development/Libraries/Cross URL: https://sourceware.org/newlib/ -Source0: ftp://sourceware.org/pub/newlib/newlib-%{version}.tar.gz +Source0: ftp://sourceware.org/pub/newlib/newlib-%{version}.tar.xz Patch1: epiphany-fixes.diff %if "%{flavor}" == "" BuildArch: noarch %else BuildRequires: cross-%{gcc_cross_arch}-gcc%{gcc_version}-bootstrap BuildRequires: fdupes +BuildRequires: makeinfo %if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled} ExclusiveArch: do-not-build %endif @@ -132,6 +133,8 @@ for variant in nano regular; do popd done +rm %{buildroot}%{_infodir}/porting.info + %fdupes %{buildroot} %endif