diff --git a/binutils-testsuite-fixes.patch b/binutils-testsuite-fixes.patch index a5004f5..2c84a7c 100644 --- a/binutils-testsuite-fixes.patch +++ b/binutils-testsuite-fixes.patch @@ -980,3 +980,30 @@ diff -rup binutils.orig/ld/testsuite/lib/ld-lib.exp binutils-2.38/ld/testsuite/l if [check_ctf_available] { return 0 } +--- binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp 2022-07-28 08:36:10.805963313 +0100 ++++ binutils-2.38/ld/testsuite/ld-x86-64/x86-64.exp 2022-07-28 08:40:35.482073002 +0100 +@@ -1886,24 +1886,6 @@ if { [isnative] && [check_compiler_avail + "-fPIE" \ + ] \ + [list \ +- "Run protected-data-1a without PIE" \ +- "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libprotected-data-1a.so" \ +- "-Wa,-mx86-used-note=yes" \ +- { protected-data-1b.c } \ +- "protected-data-1a" \ +- "pass.out" \ +- "$NOPIE_CFLAGS" \ +- ] \ +- [list \ +- "Run protected-data-1b with PIE" \ +- "-Wl,--no-as-needed -pie tmpdir/libprotected-data-1a.so" \ +- "-Wa,-mx86-used-note=yes" \ +- { protected-data-1b.c } \ +- "protected-data-1b" \ +- "pass.out" \ +- "-fPIE" \ +- ] \ +- [list \ + "Run protected-data-2a without PIE" \ + "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libprotected-data-2a.so" \ + "-Wa,-mx86-used-note=yes" \ diff --git a/binutils.spec b/binutils.spec index c51b1a9..c98a660 100644 --- a/binutils.spec +++ b/binutils.spec @@ -39,7 +39,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?name_cross}%{?_with_debug:-debug} Version: 2.38 -Release: 21%{?dist} +Release: 22%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -681,7 +681,7 @@ esac %if %{without testsuite} echo ====================TESTSUITE DISABLED========================= %else -make -k check < /dev/null || : +make -k check < /dev/null echo ====================TESTING========================= cat {gas/testsuite/gas,ld/ld,binutils/binutils}.sum %if %{with gold} @@ -944,6 +944,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Thu Jul 28 2022 Nick Clifton - 2.38-22 +- Fix a couple of x86_64 linker testsuite failures. + * Tue Jul 26 2022 Nick Clifton - 2.38-21 - Tweak the PowerPC assembler's handling of the .machine directive. (#2111082)