- Update embedded newlib to version 4.2.0

* includes newlib-4.1.0-aligned_alloc.patch

Rev devel:gcc/67 Md5 bc9bb1cc9f563532569dcb6f25a6477e 2022-10-13 10:04:43 rguenther None
This commit is contained in:
OBS User rguenther
2022-10-13 10:04:43 +00:00
committed by Git OBS Bridge
parent 119c595406
commit e5fc83dab7
36 changed files with 73 additions and 237 deletions

View File

@@ -115,7 +115,7 @@ Source1: change_spec
Source2: gcc12-rpmlintrc
Source3: gcc12-testresults-rpmlintrc
Source4: README.First-for.SuSE.packagers
Source5: newlib-4.1.0.tar.xz
Source5: newlib-4.2.0.20211231.tar.xz
Patch2: gcc-add-defaultsspec.diff
Patch5: tls-no-direct.diff
Patch6: gcc43-no-unwind-tables.diff
@@ -137,8 +137,6 @@ Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@@ -311,10 +309,7 @@ only, it is not intended for any other use.
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
ln -s newlib-4.2.0.20211231/newlib .
%else
%setup -q -n gcc-%{version}
%endif