diff --git a/binutils-riscv-testsuite-fixes.patch b/binutils-riscv-testsuite-fixes.patch index 62ceeda..e8b8fc7 100644 --- a/binutils-riscv-testsuite-fixes.patch +++ b/binutils-riscv-testsuite-fixes.patch @@ -134,19 +134,6 @@ diff -rup binutils.orig/ld/testsuite/ld-elf/tls.exp binutils-2.40/ld/testsuite/l objcopy_test_without_global_symbol ---- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2024-02-08 10:12:23.739591113 +0000 -+++ binutils-2.42/ld/testsuite/ld-ifunc/ifunc.exp 2024-02-08 10:14:58.243670115 +0000 -@@ -666,6 +666,10 @@ run_cc_link_tests [list \ - ] \ - ] - -+if {[istarget "riscv*-*-*"]} { -+ return -+} -+ - run_ld_link_exec_tests [list \ - [list \ - "Run pr18808" \ diff -rup binutils.orig/ld/testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d binutils-2.43.50-1f4aee70ed1/ld/testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d --- binutils.orig/ld/testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d 2024-10-03 15:21:47.926570551 +0100 +++ binutils-2.43.50-1f4aee70ed1/ld/testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d 2024-10-03 15:24:26.152502612 +0100 diff --git a/binutils.spec b/binutils.spec index 952d7d8..76b80f6 100644 --- a/binutils.spec +++ b/binutils.spec @@ -6,8 +6,8 @@ Name: binutils%{?_with_debug:-debug} # A version number of X.XX.90 is a pre-release snapshot. # The variable %%{source} (see below) should be set to indicate which of these # origins is being used. -Version: 2.44 -Release: 3%{?dist} +Version: 2.44.50 +Release: 1%{?dist} License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later URL: https://sourceware.org/binutils @@ -107,9 +107,9 @@ URL: https://sourceware.org/binutils # too many controversial patches so we stick with the official GNU version # instead. -%define source official-release +# %%define source official-release # %%define source pre-release -# %%define source snapshot +%define source snapshot # %%define source tarball # For snapshots and tarballs an extension is used to indicate the commit ID. @@ -117,7 +117,7 @@ URL: https://sourceware.org/binutils # correctly. Note %%(echo) is used because you cannot directly set a # spec variable to a hexadecimal string value. -# %%define commit_id %%(echo "f832531609d") +%define commit_id %(echo "1256b9860f3") #----End of Configure Options------------------------------------------------ @@ -193,17 +193,17 @@ URL: https://sourceware.org/binutils #---------------------------------------------------------------------------- -%if "%{source}" == "tarball" -Source0: binutils-%{version}-%{commit_id}.tar.xz -%endif -%if "%{source}" == "snapshot" -Source0: binutils-%{version}-%{commit_id}.tar.xz +%if "%{source}" == "official-release" +Source0: https://ftp.gnu.org/gnu/binutils/binutils-with-gold-%{version}.tar.xz %endif %if "%{source}" == "pre-release" Source0: binutils-%{version}.tar.xz %endif -%if "%{source}" == "official-release" -Source0: https://ftp.gnu.org/gnu/binutils/binutils-with-gold-%{version}.tar.xz +%if "%{source}" == "snapshot" +Source0: binutils-with-gold-%{version}-%{commit_id}.tar.xz +%endif +%if "%{source}" == "tarball" +Source0: binutils-%{version}-%{commit_id}.tar.xz %endif Source1: binutils-2.19.50.0.1-output-format.sed @@ -577,7 +577,7 @@ use by developers. It is NOT INTENDED FOR PRODUCTION use. %prep %if "%{source}" == "snapshot" -%autosetup -p1 -n binutils-%{version}-%{commit_id} +%autosetup -p1 -n binutils-with-gold-%{version}-%{commit_id} %elif "%{source}" == "official-release" %autosetup -p1 -n binutils-with-gold-%{version} %else @@ -1427,6 +1427,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Tue Feb 18 2025 Nick Clifton - 2.44.50-1 +- Rebase to commit 1256b9860f3 + * Fri Feb 07 2025 Nick Clifton - 2.44-3 - Fix seg fault in AArch64 linker when building u-boot. (#2326190) diff --git a/sources b/sources index c66d395..38a430a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (binutils-with-gold-2.44.tar.xz) = 1d8688f1b6f1bc64cfd1f82e3af05b8ace1d709d4fa819acb4d12d74e1b69b4314d98fb4281dacc9b5fa51ff7370d0249f540ec016fd137aa701502d72426301 +SHA512 (binutils-2.44.50-114396befdd.tar.xz) = 33e12e0692d359f04bccde1e15e68c0581bab2766c900b249cf81a1a8f0618be551d16f377d67cfb30a92bc674e4d2f80f1df29af0d019cce15e215690b57ca4 SHA512 (binutils-2.19.50.0.1-output-format.sed) = 2f8686b0c8af13c98cda056824c2820416f6e2d003f70b78ccf5314525b9ee3684d421dfa83e638a2d42d06ea4d4bdaf5226b64d6ec26f7ff59c44ffb2a23dd2