Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2026-09-30 16:21:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and      /work/SRC/openSUSE:Factory/.binutils.new.1465845 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "binutils"

Wed Sep 30 16:21:22 2026 rev:186 rq:1379975 version:2.47

Changes:
--------
--- /work/SRC/openSUSE:Factory/binutils/binutils.changes        2026-06-10 
15:48:04.628097232 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.1465845/binutils.changes   
2026-09-30 16:21:28.144378360 +0200
@@ -1,0 +2,81 @@
+Mon Sep 21 13:40:14 UTC 2026 - Michael Matz <[email protected]>
+
+- Update to 2.47:
+  * New major version for libsframe.so.3 (SFrame V3 format,
+    the V2 format is discontinued, added V3 support in gas and ld)
+  * SFrame V3 support in objdump and readelf
+  * add --got-contents to readelf
+  * deprecate s390-* targets (the 31bit ones)
+  * objdump: aarch64 disassember got "-M annotate" displaying a symbol
+    associated with an undefined instruction, if there is one
+  * objdump: x86(-64) disasm got "-M annotate-immediates" displaying a
+    symbol associated with an immediate, if there is one
+  * add --debug-dir=<DIR> to readelf and objdump, for separate debuginfo files
+  * removed targets: NaCL, Solaris/PowerPC
+  * assembler:
+    - ELF: new attribute letter 'E', for entity size for arbitrary sections
+    - add --reloc-section-sym=[all|internal|none] to control adjusting
+      local binding symbol relocs to section symbols
+    - x86-64: add AMD Zen6 support
+    - risc-v: add extensions sdtrig v1.0, ssstrict v1.0, smpmpmt v1.0,
+      zv*dota* and vendor extensions xsmtvdot v1.0, xsmtvdotii v1.0
+    - arm: add remaining Armv9.6 insns ('+sme-mop4', '+sme-tmop',
+      '+ssve-bitperm' and '+ssve-fexpa'); several Armv9.7 extensions
+      ('+f16f32dot', '+f16f32mm', '+f16mm', '+gcie', '+lscp', '+mtetc',
+      '+sme2p3', '+sve-b16mm', '+sve2p3' and '+tlbid') and future
+      extensions POE2 and vMTE ('+poe2', '+tev' and '+mops-go');
+      remove TME extensions (gas will warn on use)
+    - deprecated .vtable_entry and .vtable_inherit directives
+  * linker:
+    - x86(-64): Add --(no-)gnu-tls-tag and --(no-)gnu2-tls-tag options to
+      add a GLIBC_ABI_GNU_TLS/GLIBC_ABI_GNU2_TLS dependency to the output
+      when an input file uses ___tls_get_addr or R_386_TLS_DESC_CALL or
+      R_X86_64_TLSDESC_CALL relocs
+    - add --discard-sframe (omitting any .sframe sections in the output,
+      also inhibiting synthesizing sframe data for linker generated code
+      like the PLT)
+    - add optimization level zero (-O 0) disabling section merging
+    - add --start-lib/--end-lib and LIB linker script statement, treating
+      a list of object files as members of an artificial archive
+    - add support for archives without index on all targets, not just XCOFF
+- Contains fixes for these non-CVEs (not security bugs per upstreams
+  SECURITY.md):
+  * bsc#1252237 aka CVE-2025-11839 aka PR33448
+  * bsc#1252238 aka CVE-2025-11840 aka PR33455
+  * bsc#1254442 aka CVE-2025-11082 aka PR33464
+  * bsc#1259077 aka CVE-2026-3441 no PR
+  * bsc#1259078 aka CVE-2026-3442 no PR
+  * bsc#1259322 aka CVE-2025-69644 aka PR33639
+  * bsc#1259323 aka CVE-2025-69645 aka PR33637
+  * bsc#1259324 aka CVE-2025-69646 aka PR33638
+  * bsc#1259394 aka CVE-2025-69649 aka PR33697
+  * bsc#1259397 aka CVE-2025-69652 aka PR33701
+  * bsc#1259421 aka CVE-2025-69647 aka PR33640
+  * bsc#1259422 aka CVE-2025-69648 aka PR33641
+  * bsc#1260338 aka CVE-2026-4647 aka PR33919
+  * bsc#1262564 aka CVE-2026-6846 aka PR34049
+  * bsc#1274433 aka CVE-2026-18220 no PR
+  * bsc#1282138 aka CVE-2026-15003 aka PR34053
+- Add binutils-2.47.tar.bz2.sig, binutils-2.47.tar.bz2,
+  binutils-2.47-branch.diff.gz
+- Remove binutils-2.45.tar.bz2.sig, binutils-2.45.tar.bz2,
+  binutils-2.45-branch.diff.gz 
+- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
+  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
+  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch,
+  binutils-fix-c23.diff .
+- Adjust binutils-build-as-needed.diff, binutils-disable-code-arch-error.diff,
+  binutils-fix-abierrormsg.diff, binutils-fix-invalid-op-errata.diff,
+  binutils-fix-relax.diff, binutils-workaround-premature-libsframe-uninst.diff,
+  binutils-znow.patch, s390-pic-dso.diff, x86-64-biarch.patch,
+  binutils-compat-old-behaviour.diff, binutils-revert-plt32-in-branches.diff,
+  binutils-revert-rela.diff, cross-avr-nesc-as.patch .
+- Limit internal static linking of libsframe to very old (SLE-12-*)
+  codestreams.
+
+-------------------------------------------------------------------
+Wed Jul  1 12:35:41 UTC 2026 - Michael Matz <[email protected]>
+
+- Don't use libalternatives on SLE16. [bsc#1269059]
+
+-------------------------------------------------------------------

Old:
----
  binutils-2.45-branch.diff.gz
  binutils-2.45.tar.bz2
  binutils-2.45.tar.bz2.sig
  binutils-fix-c23.diff
  pr32556.diff
  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch
  pr33450.diff
  pr33452.diff
  pr33456-2.diff
  pr33456.diff
  pr33457.diff
  pr33499.diff
  pr33502.diff

New:
----
  binutils-2.47-branch.diff.gz
  binutils-2.47.tar.bz2
  binutils-2.47.tar.bz2.sig

----------(Old B)----------
  Old:  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch,
  binutils-fix-c23.diff .
- Adjust binutils-build-as-needed.diff, binutils-disable-code-arch-error.diff,
  Old:  binutils-2.45-branch.diff.gz 
- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  Old:  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch,
  binutils-fix-c23.diff .
  Old:  binutils-2.45-branch.diff.gz 
- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  Old:  binutils-2.45-branch.diff.gz 
- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  Old:- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch,
  Old:- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch,
  Old:- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch,
  Old:- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch,
  Old:- Remove upstreamed patches: pr32556.diff, pr33450.diff, pr33452.diff,
  pr33456.diff, pr33456-2.diff, pr33457.diff, pr33499.diff, pr33502.diff,
  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch,
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ binutils.spec ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:30.971496583 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:30.973496667 +0200
@@ -64,13 +64,13 @@
 %if %{suse_version} > 1500
 BuildRequires:  libzstd-devel
 %endif
-Version:        2.45
+Version:        2.47
 Release:        0
 
-# for SLE16 and beyond use libalternatives; the update from update-alternatives
-# is hairy and complex due to unrelated packages that also want to provide
-# choices for /usr/bin/ld
-%if 0%{?suse_version} >= 1600
+# for SLE16.1 and beyond use libalternatives; the update from
+# update-alternatives is hairy and complex due to unrelated
+# packages that also want to provide choices for /usr/bin/ld
+%if 0%{?suse_version} >= 1610
 %bcond_without libalternatives
 %else
 %bcond_with libalternatives
@@ -138,7 +138,7 @@
 # service checks all *.diff files, even if listed as Source, not
 # Patch :-(
 Source6:        binutils-fix-branch.diff.templ
-Patch1:         binutils-2.45-branch.diff.gz
+Patch1:         binutils-2.47-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -157,29 +157,22 @@
 Patch43:        binutils-revert-hlasm-insns.diff
 Patch44:        binutils-revert-rela.diff
 Patch60:        binutils-disable-code-arch-error.diff
-Patch70:        pr32556.diff
-Patch71:        pr33450.diff
-Patch72:        pr33452.diff
-Patch73:        pr33456.diff
-Patch74:        pr33456-2.diff
-Patch75:        pr33457.diff
-Patch76:        pr33499.diff
-Patch77:        pr33502.diff
-Patch78:        binutils-fix-c23.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
 Patch93:        cross-avr-size.patch
 Patch100:       binutils-workaround-premature-libsframe-uninst.diff
-Patch101:       pr33427-fix-loongarch64-glibc-build-with-gcc16.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Hack.  See binutils-workaround-premature-libsframe-uninst.diff
-# until libsframe2, the package, is in the distro we need to
+# until libsframe3, the package, is in the distro we need to
 # link all internal components of binutils statically against libsframe.
 # But then there's no reason for rpm to generate a dependency against
-# libsframe.so.2, but we _need_ that dependency to exist once we want
+# libsframe.so.3, but we _need_ that dependency to exist once we want
 # to link dynamically again.  So, force it for now.  Remove this when
-# the above patch is removed.
-Requires:       libsframe2
+# the above patch is removed.  On SLE-12 codestreams we haven't yet
+# introduced it.
+%if %{suse_version} <= 1320
+Requires:       libsframe3
+%endif
 %if %{with libalternatives}
 # For the update path from pre-libalternatives to libalternatives
 # we need to remove the old traces, so we need it in our pre-scripts
@@ -256,12 +249,12 @@
 This package includes the libctf-nobfd shared library.
 The Compact C Type Format (CTF) is a way of representing information about a 
binary program
 
-%package -n libsframe2
+%package -n libsframe3
 Summary:        SFrame stack trace format library (runtime)
 License:        GFDL-1.3-only AND GPL-3.0-or-later
 Group:          Development/Tools/Building
 
-%description -n libsframe2
+%description -n libsframe3
 This package includes the libsframe shared library.
 The SFrame format is a compact way to represent information
 necessary to generate stack traces.
@@ -330,23 +323,15 @@
 %patch -P 44 -p1
 %endif
 %patch -P 60 -p1
-%patch -P 70 -p1
-%patch -P 71 -p1
-%patch -P 72 -p1
-%patch -P 73 -p1
-%patch -P 74 -p1
-%patch -P 75 -p1
-%patch -P 76 -p1
-%patch -P 77 -p1
-%patch -P 78 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
 %patch -P 90
 %patch -P 92
 %patch -P 93 -p1
 %endif
+%if %{suse_version} <= 1320
 %patch -P 100 -p1
-%patch -P 101 -p1
+%endif
 #
 # test_vanilla
 %endif
@@ -708,7 +693,7 @@
 
 %post -n libctf0 -p /sbin/ldconfig
 %post -n libctf-nobfd0 -p /sbin/ldconfig
-%post -n libsframe2 -p /sbin/ldconfig
+%post -n libsframe3 -p /sbin/ldconfig
 
 %if %{with libalternatives}
 %pre
@@ -743,7 +728,7 @@
 
 %postun -n libctf0 -p /sbin/ldconfig
 %postun -n libctf-nobfd0 -p /sbin/ldconfig
-%postun -n libsframe2 -p /sbin/ldconfig
+%postun -n libsframe3 -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 %endif
@@ -813,7 +798,7 @@
 %defattr(-,root,root)
 %{_libdir}/libctf-nobfd.so.*
 
-%files -n libsframe2
+%files -n libsframe3
 %defattr(-,root,root)
 %{_libdir}/libsframe.so.*
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.055500096 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.059500263 +0200
@@ -1,5 +1,5 @@
-mtime: 1778758925
-commit: 2986276d9d502df60654863cd4e751c1bd9540d5fd1939da4526a11ee6b57dbd
+mtime: 1790084993
+commit: c46ecfe59d1bdaa32022b388750eeabc7f982a0820e563e346920e3199b7e2a8
 url: https://src.opensuse.org/gcc/binutils.git
 revision: main
 

++++++ binutils-2.45-branch.diff.gz -> binutils-2.47-branch.diff.gz ++++++
Binary files /work/SRC/openSUSE:Factory/binutils/binutils-2.45-branch.diff.gz 
and 
/work/SRC/openSUSE:Factory/.binutils.new.1465845/binutils-2.47-branch.diff.gz 
differ

++++++ binutils-2.45.tar.bz2 -> binutils-2.47.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/binutils/binutils-2.45.tar.bz2 
/work/SRC/openSUSE:Factory/.binutils.new.1465845/binutils-2.47.tar.bz2 differ: 
char 11, line 1

++++++ binutils-build-as-needed.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.133503358 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.136503484 +0200
@@ -1,8 +1,8 @@
 Index: ld/ldmain.c
 ===================================================================
---- ld/ldmain.c.orig   2017-07-26 10:07:31.862559913 +0200
-+++ ld/ldmain.c        2017-07-26 10:07:31.886560303 +0200
-@@ -309,6 +309,8 @@ main (int argc, char **argv)
+--- ld/ldmain.c.orig   2026-07-26 01:00:00.000000000 +0200
++++ ld/ldmain.c        2026-09-21 16:26:33.984861386 +0200
+@@ -746,6 +746,8 @@ main (int argc, char **argv)
      yydebug = 1;
    }
  #endif

++++++ binutils-compat-old-behaviour.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.149504027 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.153504194 +0200
@@ -4,20 +4,20 @@
   - this also implies that default max-page-size is 0x1000, instead of the
     old 0x200000, so some testcases need to encode that as well
 * aarch64: don't enable '-z gcs=implicit' by default
-Index: binutils-2.45/ld/testsuite/ld-elf/linux-x86.exp
+Index: binutils-2.47/ld/testsuite/ld-elf/linux-x86.exp
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-elf/linux-x86.exp       2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/ld/testsuite/ld-elf/linux-x86.exp    2025-10-28 
15:10:38.085247199 +0100
-@@ -324,7 +324,7 @@ proc check_pr25749a {testname srcfilea s
+--- binutils-2.47.orig/ld/testsuite/ld-elf/linux-x86.exp       2026-07-26 
01:00:00.000000000 +0200
++++ binutils-2.47/ld/testsuite/ld-elf/linux-x86.exp    2026-09-21 
17:17:14.214000746 +0200
+@@ -327,7 +327,7 @@ proc check_pr25749a {testname srcfilea s
      }
  
      # Suppress warning for unsupported attribute from older GCC.
 -    append cflags " -w"
 +    append cflags " -w -Wa,-mrelax-relocations=yes"
  
-     exec cp $srcdir/$subdir/$srcfilea $srcfilea
-     exec chmod +w $srcfilea
-@@ -445,7 +445,7 @@ proc check_pr25749b {testname srcfilea s
+     set prefix "--binary-symbol-prefix _binary_[string map {- _ . _} 
$srcfilea]"
+     set pr25749_bin "$objcopy -B $output_arch -I binary $prefix -O 
$output_target $srcdir/$subdir/$srcfilea tmpdir/pr25749-bin.o"
+@@ -446,7 +446,7 @@ proc check_pr25749b {testname srcfilea s
        [list \
            "Build lib${testname}.so ($dsoldflags)" \
            "-shared $dsoldflags tmpdir/pr25749-bin.o -z noexecstack" \
@@ -26,10 +26,10 @@
            [list $srcfileb] \
            {{readelf {-Wr} pr25749.rd}}  \
            "lib${testname}.so" \
-Index: binutils-2.45/ld/testsuite/ld-i386/report-reloc-1.d
+Index: binutils-2.47/ld/testsuite/ld-i386/report-reloc-1.d
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-i386/report-reloc-1.d   2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/ld/testsuite/ld-i386/report-reloc-1.d        2025-10-28 
15:10:38.085247199 +0100
+--- binutils-2.47.orig/ld/testsuite/ld-i386/report-reloc-1.d   2026-07-26 
01:00:00.000000000 +0200
++++ binutils-2.47/ld/testsuite/ld-i386/report-reloc-1.d        2026-09-21 
17:17:14.214000746 +0200
 @@ -1,6 +1,6 @@
  #source: report-reloc-1.s
  #as: --32
@@ -38,10 +38,10 @@
  #warning_output: report-reloc-1.l
  #readelf: -r --wide
  
-Index: binutils-2.45/ld/testsuite/ld-x86-64/report-reloc-1-x32.d
+Index: binutils-2.47/ld/testsuite/ld-x86-64/report-reloc-1-x32.d
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/report-reloc-1-x32.d     
2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/ld/testsuite/ld-x86-64/report-reloc-1-x32.d  2025-10-28 
15:10:38.085247199 +0100
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/report-reloc-1-x32.d     
2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/ld/testsuite/ld-x86-64/report-reloc-1-x32.d  2026-09-21 
17:17:14.214000746 +0200
 @@ -1,6 +1,6 @@
  #source: report-reloc-1.s
  #as: --x32
@@ -50,10 +50,10 @@
  #warning_output: report-reloc-1.l
  #readelf: -r --wide
  
-Index: binutils-2.45/ld/testsuite/ld-x86-64/report-reloc-1.d
+Index: binutils-2.47/ld/testsuite/ld-x86-64/report-reloc-1.d
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/report-reloc-1.d 2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/ld/testsuite/ld-x86-64/report-reloc-1.d      2025-10-28 
15:10:38.085247199 +0100
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/report-reloc-1.d 2026-07-26 
01:00:00.000000000 +0200
++++ binutils-2.47/ld/testsuite/ld-x86-64/report-reloc-1.d      2026-09-21 
17:17:14.214000746 +0200
 @@ -1,6 +1,6 @@
  #source: report-reloc-1.s
  #as: --64
@@ -62,23 +62,23 @@
  #warning_output: report-reloc-1.l
  #readelf: -r --wide
  
-Index: binutils-2.45/ld/emultempl/aarch64elf.em
+Index: binutils-2.47/ld/emultempl/aarch64elf.em
 ===================================================================
---- binutils-2.45.orig/ld/emultempl/aarch64elf.em      2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/ld/emultempl/aarch64elf.em   2025-10-28 15:10:38.085247199 
+0100
+--- binutils-2.47.orig/ld/emultempl/aarch64elf.em      2026-07-26 
01:00:00.000000000 +0200
++++ binutils-2.47/ld/emultempl/aarch64elf.em   2026-09-21 17:17:59.305773216 
+0200
 @@ -37,7 +37,7 @@ static int no_apply_dynamic_relocs = 0;
  static aarch64_protection_opts sw_protections = {
    .plt_type = PLT_NORMAL,
    .bti_report = MARKING_WARN,
 -  .gcs_type = GCS_IMPLICIT,
 +  .gcs_type = GCS_NEVER,
-   .gcs_report = MARKING_WARN,
+   .gcs_report = MARKING_UNSET,
    .gcs_report_dynamic = MARKING_UNSET,
  };
-Index: binutils-2.45/ld/testsuite/ld-aarch64/protections/gcs-1-b.d
+Index: binutils-2.47/ld/testsuite/ld-aarch64/protections/gcs-1-b.d
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-aarch64/protections/gcs-1-b.d   
2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/ld/testsuite/ld-aarch64/protections/gcs-1-b.d        
2025-10-28 15:11:41.600313675 +0100
+--- binutils-2.47.orig/ld/testsuite/ld-aarch64/protections/gcs-1-b.d   
2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/ld/testsuite/ld-aarch64/protections/gcs-1-b.d        
2026-09-21 17:17:14.215000763 +0200
 @@ -3,7 +3,7 @@
  #source: gcs2.s
  #alltargets: [check_shared_lib_support] *linux*

++++++ binutils-disable-code-arch-error.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.167504780 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.172504989 +0200
@@ -1,8 +1,8 @@
-Index: binutils-2.45/gas/config/tc-i386.c
+Index: binutils-2.47/gas/config/tc-i386.c
 ===================================================================
---- binutils-2.45.orig/gas/config/tc-i386.c    2025-07-27 01:00:00.000000000 
+0200
-+++ binutils-2.45/gas/config/tc-i386.c 2025-10-14 15:39:39.574328233 +0200
-@@ -3413,11 +3413,15 @@ set_cpu_arch (int dummy ATTRIBUTE_UNUSED
+--- binutils-2.47.orig/gas/config/tc-i386.c    2026-07-26 01:00:00.000000000 
+0200
++++ binutils-2.47/gas/config/tc-i386.c 2026-09-21 16:33:38.969136609 +0200
+@@ -3465,11 +3465,15 @@ set_cpu_arch (int dummy ATTRIBUTE_UNUSED
            {
              check_cpu_arch_compatible (string, cpu_arch[j].enable);
  

++++++ binutils-fix-abierrormsg.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.185505533 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.193505867 +0200
@@ -14,11 +14,11 @@
 of libraries (e.g. in nvme-cli to check for -luuid).  Redircting error
 output makes this siletently fail.
 
-Index: binutils-2.35/bfd/elf64-ppc.c
+Index: binutils-2.47/bfd/elf64-ppc.c
 ===================================================================
---- binutils-2.35.orig/bfd/elf64-ppc.c 2020-07-24 11:12:19.000000000 +0200
-+++ binutils-2.35/bfd/elf64-ppc.c      2020-08-10 17:25:00.205219071 +0200
-@@ -5310,11 +5310,17 @@ ppc64_elf_merge_private_bfd_data (bfd *ibfd, struct 
bfd_link_info *info)
+--- binutils-2.47.orig/bfd/elf64-ppc.c 2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/bfd/elf64-ppc.c      2026-09-21 16:30:59.902418712 +0200
+@@ -5487,11 +5487,17 @@ ppc64_elf_merge_private_bfd_data (bfd *i
  
    if (iflags & ~EF_PPC64_ABI)
      {

++++++ binutils-fix-invalid-op-errata.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.218506913 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.221507038 +0200
@@ -11,9 +11,11 @@
 ld: linker stubs: file class ELFCLASSNONE incompatible with ELFCLASS64
 ld: final link failed: file in wrong format
 
---- bfd/elfnn-aarch64.c.mm     2019-09-09 13:19:43.000000000 +0000
-+++ bfd/elfnn-aarch64.c        2019-11-20 11:44:00.000000000 +0000
-@@ -4312,7 +4312,8 @@ elfNN_aarch64_size_stubs (bfd *output_bfd,
+Index: bfd/elfnn-aarch64.c
+===================================================================
+--- bfd/elfnn-aarch64.c.orig   2026-07-26 01:00:00.000000000 +0200
++++ bfd/elfnn-aarch64.c        2026-09-21 16:29:34.507955210 +0200
+@@ -4823,7 +4823,8 @@ elfNN_aarch64_size_stubs (bfd *output_bf
              || (input_bfd->flags & BFD_LINKER_CREATED) != 0)
            continue;
  

++++++ binutils-fix-relax.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.234507582 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.237507707 +0200
@@ -5,11 +5,11 @@
 files we might still see GOTPCREL relocs, even with REX bytes available.
 We still can't do such rewriting and hence need to stay with the old
 rewriting into a lea.
-diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
-index 549a8be6a6..b89b0023db 100644
---- a/bfd/elf64-x86-64.c
-+++ b/bfd/elf64-x86-64.c
-@@ -1731,7 +1731,7 @@ elf_x86_64_convert_load_reloc (bfd *abfd,
+Index: binutils-2.47/bfd/elf64-x86-64.c
+===================================================================
+--- binutils-2.47.orig/bfd/elf64-x86-64.c      2026-07-26 01:00:00.000000000 
+0200
++++ binutils-2.47/bfd/elf64-x86-64.c   2026-09-21 16:32:59.040454739 +0200
+@@ -2314,7 +2314,7 @@ elf_x86_64_convert_load_reloc (bfd *abfd
  
        if (opcode == 0x8b)
        {

++++++ binutils-revert-plt32-in-branches.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.257508544 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.260508669 +0200
@@ -79,11 +79,11 @@
        * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
        * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
 
-Index: binutils-2.45/bfd/elf64-x86-64.c
+Index: binutils-2.47/bfd/elf64-x86-64.c
 ===================================================================
---- binutils-2.45.orig/bfd/elf64-x86-64.c      2025-10-14 15:54:33.605441586 
+0200
-+++ binutils-2.45/bfd/elf64-x86-64.c   2025-10-14 15:59:55.169884230 +0200
-@@ -2480,6 +2480,24 @@ elf_x86_64_convert_load_reloc (bfd *abfd
+--- binutils-2.47.orig/bfd/elf64-x86-64.c      2026-09-21 17:04:02.286422291 
+0200
++++ binutils-2.47/bfd/elf64-x86-64.c   2026-09-21 17:04:10.329560947 +0200
+@@ -2493,6 +2493,24 @@ elf_x86_64_convert_load_reloc (bfd *abfd
    return true;
  }
  
@@ -108,7 +108,7 @@
  /* Look through the relocs for a section during the first phase, and
     calculate needed space in the global offset table, and procedure
     linkage table.  */
-@@ -3897,9 +3915,6 @@ elf_x86_64_relocate_section (bfd *output
+@@ -3921,9 +3939,6 @@ elf_x86_64_relocate_section (struct bfd_
                        && (eh == NULL
                            || !UNDEFINED_WEAK_RESOLVED_TO_ZERO (info,
                                                                 eh)))
@@ -118,7 +118,7 @@
                       || (no_copyreloc_p
                           && h->def_dynamic
                           && !(h->root.u.def.section->flags & SEC_CODE))))
-@@ -3908,20 +3923,25 @@ elf_x86_64_relocate_section (bfd *output
+@@ -3932,20 +3947,25 @@ elf_x86_64_relocate_section (struct bfd_
                  || bfd_link_dll (info)))
            {
              bool fail = false;
@@ -148,7 +148,7 @@
                }
              else if (no_copyreloc_p || bfd_link_dll (info))
                {
-@@ -3930,9 +3950,10 @@ elf_x86_64_relocate_section (bfd *output
+@@ -3954,9 +3974,10 @@ elf_x86_64_relocate_section (struct bfd_
                     relocations against default and protected
                     symbols since address of protected function
                     and location of protected data may not be in
@@ -161,11 +161,11 @@
                }
  
              if (fail)
-Index: binutils-2.45/gas/config/tc-i386.c
+Index: binutils-2.47/gas/config/tc-i386.c
 ===================================================================
---- binutils-2.45.orig/gas/config/tc-i386.c    2025-10-14 15:53:39.665528626 
+0200
-+++ binutils-2.45/gas/config/tc-i386.c 2025-10-14 16:01:49.677822350 +0200
-@@ -11591,6 +11591,10 @@ output_branch (void)
+--- binutils-2.47.orig/gas/config/tc-i386.c    2026-09-21 17:04:02.286422291 
+0200
++++ binutils-2.47/gas/config/tc-i386.c 2026-09-21 17:04:10.331560981 +0200
+@@ -11786,6 +11786,10 @@ output_branch (void)
  static bool
  need_plt32_p (symbolS *s)
  {
@@ -176,10 +176,10 @@
  #ifdef TE_SOLARIS
    /* Don't emit PLT32 relocation on Solaris: neither native linker nor
       krtld support it.  */
-Index: binutils-2.45/gas/testsuite/gas/i386/ilp32/reloc64.d
+Index: binutils-2.47/gas/testsuite/gas/i386/ilp32/reloc64.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/ilp32/reloc64.d  2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/ilp32/reloc64.d       2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/ilp32/reloc64.d  2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/ilp32/reloc64.d       2026-09-21 
17:04:10.331560981 +0200
 @@ -17,7 +17,7 @@ Disassembly of section \.text:
  .*[   ]+R_X86_64_PC8[         ]+xtrn\+0x0*1
  .*[   ]+R_X86_64_PC32[        ]+xtrn-0x0*4
@@ -189,10 +189,10 @@
  .*[   ]+R_X86_64_PC8[         ]+xtrn-0x0*1
  .*[   ]+R_X86_64_GOT32[       ]+xtrn
  .*[   ]+R_X86_64_GOT32[       ]+xtrn
-Index: binutils-2.45/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
+Index: binutils-2.47/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/ilp32/x86-64-branch.d    
2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/ilp32/x86-64-branch.d    
2026-09-21 17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 2026-09-21 
17:04:10.331560981 +0200
 @@ -20,9 +20,9 @@ Disassembly of section .text:
  [     ]*[a-f0-9]+:    66 ff 20                data16 jmp \*\(%rax\)
  [     ]*[a-f0-9]+:    e8 00 00 00 00          call   (0x)?1f <.*>     1b: 
R_X86_64_PC32       \*ABS\*\+0x10003c
@@ -206,10 +206,10 @@
  [     ]*[a-f0-9]+:    66 c3                   data16 ret
  [     ]*[a-f0-9]+:    66 c2 08 00             data16 ret \$0x8
  [     ]*[a-f0-9]+:    3e 74 03[       ]+je,pt  +[0-9a-fx]+ <.*>
-Index: binutils-2.45/gas/testsuite/gas/i386/reloc64.d
+Index: binutils-2.47/gas/testsuite/gas/i386/reloc64.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/reloc64.d        2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/reloc64.d     2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/reloc64.d        2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/reloc64.d     2026-09-21 
17:04:10.331560981 +0200
 @@ -20,7 +20,7 @@ Disassembly of section \.text:
  .*[   ]+R_X86_64_PC8[         ]+xtrn\+0x0*1
  .*[   ]+R_X86_64_PC32[        ]+xtrn-0x0*4
@@ -219,11 +219,11 @@
  .*[   ]+R_X86_64_PC8[         ]+xtrn-0x0*1
  .*[   ]+R_X86_64_GOT64[       ]+xtrn
  .*[   ]+R_X86_64_GOT32[       ]+xtrn
-Index: binutils-2.45/gas/testsuite/gas/i386/x86-64-branch-2.d
+Index: binutils-2.47/gas/testsuite/gas/i386/x86-64-branch-2.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/x86-64-branch-2.d        
2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/x86-64-branch-2.d     2025-10-14 
15:59:55.171884264 +0200
-@@ -9,12 +9,12 @@ Disassembly of section .text:
+--- binutils-2.47.orig/gas/testsuite/gas/i386/x86-64-branch-2.d        
2026-09-21 17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/x86-64-branch-2.d     2026-09-21 
17:11:01.730619751 +0200
+@@ -9,14 +9,14 @@ Disassembly of section .text:
  
  0+ <bar-0xb>:
  [     ]*[a-f0-9]+:    66 e9 00 00             jmpw   4 <bar-0x7>      2: 
R_X86_64_PC16        foo-0x2
@@ -237,11 +237,14 @@
 +[     ]*[a-f0-9]+:    66 48 e8 00 00 00 00    data16 rex\.W call 18 
<bar\+0xd>        14: R_X86_64_PC32       foo-0x4
  [     ]*[a-f0-9]+:    66 c3                   retw
  [     ]*[a-f0-9]+:    66 c2 08 00             retw   \$0x8
+ [     ]*[a-f0-9]+:    66 0f 84 00 00          jew    23 <bar\+0x18>   21: 
R_X86_64_PC16       foo-0x2
+-[     ]*[a-f0-9]+:    66 48 0f 85 00 00 00 00         data16 rex\.W jne 2b 
<bar\+0x20>        27: R_X86_64_PLT32      foo-0x4
++[     ]*[a-f0-9]+:    66 48 0f 85 00 00 00 00         data16 rex\.W jne 2b 
<bar\+0x20>        27: R_X86_64_PC32       foo-0x4
  #pass
-Index: binutils-2.45/gas/testsuite/gas/i386/x86-64-jump.d
+Index: binutils-2.47/gas/testsuite/gas/i386/x86-64-jump.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/x86-64-jump.d    2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/x86-64-jump.d 2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/x86-64-jump.d    2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/x86-64-jump.d 2026-09-21 
17:04:10.331560981 +0200
 @@ -9,7 +9,7 @@ Disassembly of section .text:
  
  0+ <.text>:
@@ -260,10 +263,10 @@
  [     ]*[a-f0-9]+:    ff 14 25 00 00 00 00    call   \*0x0    3d: 
R_X86_64_32S        xxx
  [     ]*[a-f0-9]+:    ff d7                   call   \*%rdi
  [     ]*[a-f0-9]+:    ff 17                   call   \*\(%rdi\)
-Index: binutils-2.45/gas/testsuite/gas/i386/x86-64-nop-3.d
+Index: binutils-2.47/gas/testsuite/gas/i386/x86-64-nop-3.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/x86-64-nop-3.d   2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/x86-64-nop-3.d        2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/x86-64-nop-3.d   2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/x86-64-nop-3.d        2026-09-21 
17:04:10.331560981 +0200
 @@ -18,5 +18,5 @@ Disassembly of section .text:
  Disassembly of section .altinstr_replacement:
  
@@ -271,10 +274,10 @@
 - +[a-f0-9]+:  e9 00 00 00 00          jmp    5 <_start\+0x5>  1: 
R_X86_64_PLT32       foo-0x4
 + +[a-f0-9]+:  e9 00 00 00 00          jmp    5 <_start\+0x5>  1: 
R_X86_64_PC32        foo-0x4
  #pass
-Index: binutils-2.45/gas/testsuite/gas/i386/x86-64-nop-4.d
+Index: binutils-2.47/gas/testsuite/gas/i386/x86-64-nop-4.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/x86-64-nop-4.d   2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/x86-64-nop-4.d        2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/x86-64-nop-4.d   2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/x86-64-nop-4.d        2026-09-21 
17:04:10.331560981 +0200
 @@ -21,5 +21,5 @@ Disassembly of section .altinstr_replace
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
@@ -282,10 +285,10 @@
 - +[a-f0-9]+:  e9 00 00 00 00          jmp    b <_start\+0xb>  7: 
R_X86_64_PLT32       foo-0x4
 + +[a-f0-9]+:  e9 00 00 00 00          jmp    b <_start\+0xb>  7: 
R_X86_64_PC32        foo-0x4
  #pass
-Index: binutils-2.45/gas/testsuite/gas/i386/x86-64-nop-5.d
+Index: binutils-2.47/gas/testsuite/gas/i386/x86-64-nop-5.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/x86-64-nop-5.d   2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/x86-64-nop-5.d        2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/x86-64-nop-5.d   2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/x86-64-nop-5.d        2026-09-21 
17:04:10.331560981 +0200
 @@ -24,5 +24,5 @@ Disassembly of section .altinstr_replace
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
@@ -293,10 +296,10 @@
 - +[a-f0-9]+:  e9 00 00 00 00          jmp    d <_start\+0xd>  9: 
R_X86_64_PLT32       foo-0x4
 + +[a-f0-9]+:  e9 00 00 00 00          jmp    d <_start\+0xd>  9: 
R_X86_64_PC32        foo-0x4
  #pass
-Index: binutils-2.45/gas/testsuite/gas/i386/x86-64-relax-2.d
+Index: binutils-2.47/gas/testsuite/gas/i386/x86-64-relax-2.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/x86-64-relax-2.d 2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/x86-64-relax-2.d      2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/x86-64-relax-2.d 2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/x86-64-relax-2.d      2026-09-21 
17:04:10.331560981 +0200
 @@ -11,12 +11,12 @@ Disassembly of section .text:
  0+ <foo>:
  [     ]*[a-f0-9]+:    eb 24                   jmp    26 <local>
@@ -315,10 +318,10 @@
  
  0+22 <hidden_def>:
  [     ]*[a-f0-9]+:    c3                      ret
-Index: binutils-2.45/gas/testsuite/gas/i386/x86-64-relax-3.d
+Index: binutils-2.47/gas/testsuite/gas/i386/x86-64-relax-3.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/x86-64-relax-3.d 2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/x86-64-relax-3.d      2025-10-14 
15:59:55.171884264 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/x86-64-relax-3.d 2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/x86-64-relax-3.d      2026-09-21 
17:04:10.331560981 +0200
 @@ -12,10 +12,10 @@ Disassembly of section .text:
  [     ]*[a-f0-9]+:    eb 1b                   jmp    1f <hidden_def>
  [     ]*[a-f0-9]+:    eb 1b                   jmp    21 <global_def>
@@ -334,25 +337,25 @@
  
  0+1f <hidden_def>:
  [     ]*[a-f0-9]+:    c3                      ret
-Index: binutils-2.45/ld/testsuite/ld-x86-64/pr22791-1.err
+Index: binutils-2.47/ld/testsuite/ld-x86-64/pr22791-1.err
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/pr22791-1.err    2025-07-27 
01:00:00.000000000 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/pr22791-1.err    2026-09-21 
17:04:02.286422291 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,2 +0,0 @@
 -.*relocation R_X86_64_PC32 against symbol `foo' can not be used when making a 
PIE object; recompile with -fPIE
 -#...
-Index: binutils-2.45/ld/testsuite/ld-x86-64/pr22791-1a.c
+Index: binutils-2.47/ld/testsuite/ld-x86-64/pr22791-1a.c
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/pr22791-1a.c     2025-07-27 
01:00:00.000000000 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/pr22791-1a.c     2026-09-21 
17:04:02.286422291 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,4 +0,0 @@
 -void
 -foo (void)
 -{
 -}
-Index: binutils-2.45/ld/testsuite/ld-x86-64/pr22791-1b.s
+Index: binutils-2.47/ld/testsuite/ld-x86-64/pr22791-1b.s
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/pr22791-1b.s     2025-07-27 
01:00:00.000000000 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/pr22791-1b.s     2026-09-21 
17:04:02.286422291 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,7 +0,0 @@
 -      .text
@@ -362,9 +365,9 @@
 -      movl    foo(%rip), %eax
 -      .size   main, .-main
 -      .section        .note.GNU-stack
-Index: binutils-2.45/ld/testsuite/ld-x86-64/pr22791-2.rd
+Index: binutils-2.47/ld/testsuite/ld-x86-64/pr22791-2.rd
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/pr22791-2.rd     2025-07-27 
01:00:00.000000000 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/pr22791-2.rd     2026-09-21 
17:04:02.286422291 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,6 +0,0 @@
 -#failif
@@ -373,9 +376,9 @@
 -#...
 -[0-9a-f ]+R_X86_64_NONE.*
 -#...
-Index: binutils-2.45/ld/testsuite/ld-x86-64/pr22791-2a.s
+Index: binutils-2.47/ld/testsuite/ld-x86-64/pr22791-2a.s
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/pr22791-2a.s     2025-07-27 
01:00:00.000000000 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/pr22791-2a.s     2026-09-21 
17:04:02.286422291 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,8 +0,0 @@
 -      .text
@@ -386,9 +389,9 @@
 -      jmp     bar
 -      .size   foo, .-foo
 -      .section        .note.GNU-stack,"",@progbits
-Index: binutils-2.45/ld/testsuite/ld-x86-64/pr22791-2b.c
+Index: binutils-2.47/ld/testsuite/ld-x86-64/pr22791-2b.c
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/pr22791-2b.c     2025-07-27 
01:00:00.000000000 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/pr22791-2b.c     2026-09-21 
17:04:02.286422291 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,7 +0,0 @@
 -#include <stdio.h>
@@ -398,9 +401,9 @@
 -{
 -  puts ("PASS");
 -}
-Index: binutils-2.45/ld/testsuite/ld-x86-64/pr22791-2c.s
+Index: binutils-2.47/ld/testsuite/ld-x86-64/pr22791-2c.s
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/pr22791-2c.s     2025-07-27 
01:00:00.000000000 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/pr22791-2c.s     2026-09-21 
17:04:02.286422291 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,12 +0,0 @@
 -      .text
@@ -415,10 +418,10 @@
 -      ret
 -      .size   main, .-main
 -      .section        .note.GNU-stack,"",@progbits
-Index: binutils-2.45/ld/testsuite/ld-x86-64/pr22842b.S
+Index: binutils-2.47/ld/testsuite/ld-x86-64/pr22842b.S
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/pr22842b.S       2025-07-27 
01:00:00.000000000 +0200
-+++ binutils-2.45/ld/testsuite/ld-x86-64/pr22842b.S    2025-10-14 
15:59:55.172884281 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/pr22842b.S       2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/ld/testsuite/ld-x86-64/pr22842b.S    2026-09-21 
17:04:10.332560998 +0200
 @@ -7,7 +7,7 @@ main:
          leaq    bar(%rip), %rdi
        addq    %rax, %rdi
@@ -428,11 +431,11 @@
        xorl    %eax, %eax
        popq    %rcx
        retq
-Index: binutils-2.45/ld/testsuite/ld-x86-64/x86-64.exp
+Index: binutils-2.47/ld/testsuite/ld-x86-64/x86-64.exp
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/x86-64.exp       2025-10-14 
15:54:33.616441772 +0200
-+++ binutils-2.45/ld/testsuite/ld-x86-64/x86-64.exp    2025-10-14 
15:59:55.172884281 +0200
-@@ -1314,44 +1314,6 @@ if { [isnative] && [check_compiler_avail
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/x86-64.exp       2026-09-21 
17:04:02.286422291 +0200
++++ binutils-2.47/ld/testsuite/ld-x86-64/x86-64.exp    2026-09-21 
17:04:10.332560998 +0200
+@@ -1372,44 +1372,6 @@ if { [isnative] && [check_compiler_avail
            "pr22393-3-static" \
        ] \
        [list \
@@ -477,7 +480,7 @@
            "Build pr22842.so" \
            "-shared" \
            "-fPIC -Wa,-mx86-used-note=yes" \
-@@ -1849,15 +1811,6 @@ if { [isnative] && [check_compiler_avail
+@@ -1907,15 +1869,6 @@ if { [isnative] && [check_compiler_avail
            "pass.out" \
        ] \
        [list \

++++++ binutils-revert-rela.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.275509296 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.278509422 +0200
@@ -31,11 +31,11 @@
 that end this patch further adds calls to _bfd_clear_contents after those
 ones.)
 
-Index: binutils-2.45/bfd/elf64-x86-64.c
+Index: binutils-2.47/bfd/elf64-x86-64.c
 ===================================================================
---- binutils-2.45.orig/bfd/elf64-x86-64.c      2025-10-21 18:04:37.580147518 
+0200
-+++ binutils-2.45/bfd/elf64-x86-64.c   2025-10-21 18:04:39.438178825 +0200
-@@ -48,127 +48,127 @@ static reloc_howto_type x86_64_elf_howto
+--- binutils-2.47.orig/bfd/elf64-x86-64.c      2026-09-21 17:11:24.168004127 
+0200
++++ binutils-2.47/bfd/elf64-x86-64.c   2026-09-21 17:18:48.999624523 +0200
+@@ -49,127 +49,127 @@ static reloc_howto_type x86_64_elf_howto
        bfd_elf_generic_reloc, "R_X86_64_NONE", false, 0, 0x00000000,
        false),
    HOWTO(R_X86_64_64, 0, 8, 64, false, 0, complain_overflow_dont,
@@ -204,7 +204,7 @@
        true),
    HOWTO(R_X86_64_CODE_4_GOTPCRELX, 0, 4, 32, true, 0, 
complain_overflow_signed,
        bfd_elf_generic_reloc, "R_X86_64_CODE_4_GOTPCRELX", false, 0, 
0xffffffff,
-@@ -216,7 +216,7 @@ static reloc_howto_type x86_64_elf_howto
+@@ -217,7 +217,7 @@ static reloc_howto_type x86_64_elf_howto
  
  /* Use complain_overflow_bitfield on R_X86_64_32 for x32.  */
    HOWTO(R_X86_64_32, 0, 4, 32, false, 0, complain_overflow_bitfield,
@@ -213,7 +213,7 @@
        false)
  };
  
-@@ -2095,6 +2095,8 @@ elf_x86_64_convert_load_reloc (bfd *abfd
+@@ -2108,6 +2108,8 @@ elf_x86_64_convert_load_reloc (bfd *abfd
        r = _bfd_final_link_relocate (howto, abfd, input_section,
                                    contents, irel->r_offset,
                                    relocation, raddend);
@@ -222,7 +222,7 @@
        if (r == bfd_reloc_overflow)
        return true;
  
-@@ -2204,6 +2206,8 @@ elf_x86_64_convert_load_reloc (bfd *abfd
+@@ -2217,6 +2219,8 @@ elf_x86_64_convert_load_reloc (bfd *abfd
        r = _bfd_final_link_relocate (howto, abfd, input_section,
                                    contents, irel->r_offset,
                                    relocation, 0);
@@ -231,7 +231,7 @@
        if (r == bfd_reloc_overflow)
        return true;
  
-@@ -2317,6 +2321,8 @@ elf_x86_64_convert_load_reloc (bfd *abfd
+@@ -2330,6 +2334,8 @@ elf_x86_64_convert_load_reloc (bfd *abfd
                                            contents, irel->r_offset,
                                            relocation,
                                            raddend);
@@ -240,7 +240,7 @@
              if (r == bfd_reloc_overflow)
                return true;
  
-@@ -2415,6 +2421,8 @@ elf_x86_64_convert_load_reloc (bfd *abfd
+@@ -2428,6 +2434,8 @@ elf_x86_64_convert_load_reloc (bfd *abfd
          r = _bfd_final_link_relocate (howto, abfd, input_section,
                                        contents, irel->r_offset,
                                        relocation, 0);
@@ -249,9 +249,9 @@
          if (r == bfd_reloc_overflow)
            return true;
  
-Index: binutils-2.45/gas/testsuite/gas/i386/rela.d
+Index: binutils-2.47/gas/testsuite/gas/i386/rela.d
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/rela.d   2025-10-21 
18:02:42.645210812 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/rela.d   2026-07-26 
01:00:00.000000000 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,13 +0,0 @@
 -#name: x86-64 rela relocs w/ non-zero relocated fields
@@ -267,9 +267,9 @@
 -
 -Contents of section .data:
 - 0+0 11 ?11 ?11 ?11 22 ?22 ?22 ?22 33 ?33 ?33 ?33 44 ?44 ?44 ?44 .*
-Index: binutils-2.45/gas/testsuite/gas/i386/rela.s
+Index: binutils-2.47/gas/testsuite/gas/i386/rela.s
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/rela.s   2025-10-21 
18:02:42.645210812 +0200
+--- binutils-2.47.orig/gas/testsuite/gas/i386/rela.s   2026-07-26 
01:00:00.000000000 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,14 +0,0 @@
 -# Note: This file is also used by an ld test case.
@@ -286,9 +286,9 @@
 -
 -      .reloc l, BFD_RELOC_64, q
 -      .reloc q, BFD_RELOC_32, l
-Index: binutils-2.45/ld/testsuite/ld-x86-64/rela.d
+Index: binutils-2.47/ld/testsuite/ld-x86-64/rela.d
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/rela.d   2025-10-21 
18:02:42.645210812 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/rela.d   2026-07-26 
01:00:00.000000000 +0200
 +++ /dev/null  1970-01-01 00:00:00.000000000 +0000
 @@ -1,10 +0,0 @@
 -#name: x86-64 rela relocs w/ non-zero relocated fields
@@ -301,10 +301,10 @@
 -
 -Contents of section .data:
 - *[0-9a-f]*0 .8 ?.. ?.. ?.. 00 ?00 ?00 ?00 .0 ?.. ?.. ?.. 44 ?44 ?44 ?44 .*
-Index: binutils-2.45/ld/testsuite/ld-x86-64/x86-64.exp
+Index: binutils-2.47/ld/testsuite/ld-x86-64/x86-64.exp
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-x86-64/x86-64.exp       2025-10-21 
18:02:59.867500986 +0200
-+++ binutils-2.45/ld/testsuite/ld-x86-64/x86-64.exp    2025-10-21 
18:13:03.092666336 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-x86-64/x86-64.exp       2026-09-21 
17:04:10.332560998 +0200
++++ binutils-2.47/ld/testsuite/ld-x86-64/x86-64.exp    2026-09-21 
17:19:44.044567496 +0200
 @@ -314,7 +314,6 @@ run_dump_test "apic"
  run_dump_test "pcrel8"
  run_dump_test "pcrel16"
@@ -313,7 +313,7 @@
  run_dump_test "tlsgd2"
  run_dump_test "tlsgd3"
  run_dump_test "tlsgd12"
-@@ -530,10 +529,10 @@ run_dump_test "pr27491-1c"
+@@ -530,16 +529,16 @@ run_dump_test "pr27491-1c"
  run_dump_test "pr27491-2"
  run_dump_test "pr27491-3"
  run_dump_test "pr27491-4"
@@ -321,14 +321,26 @@
 -run_dump_test "dt-relr-1a-x32"
 -run_dump_test "dt-relr-1b"
 -run_dump_test "dt-relr-1b-x32"
+-run_dump_test "dt-relr-1c"
+-run_dump_test "dt-relr-1c-x32"
+-run_dump_test "dt-relr-1d"
+-run_dump_test "dt-relr-1d-x32"
+-run_dump_test "dt-relr-2"
+-run_dump_test "dt-relr-2-x32"
 +#run_dump_test "dt-relr-1a"
 +#run_dump_test "dt-relr-1a-x32"
 +#run_dump_test "dt-relr-1b"
 +#run_dump_test "dt-relr-1b-x32"
++#run_dump_test "dt-relr-1c"
++#run_dump_test "dt-relr-1c-x32"
++#run_dump_test "dt-relr-1d"
++#run_dump_test "dt-relr-1d-x32"
++#run_dump_test "dt-relr-2"
++#run_dump_test "dt-relr-2-x32"
  run_dump_test "pr30787"
  run_dump_test "pr31047"
  run_dump_test "pr31047-x32"
-@@ -2335,7 +2334,7 @@ if { [check_compiler_available] } {
+@@ -2393,7 +2392,7 @@ if { [check_compiler_available] } {
        ] \
        [list \
            "Build mark-plt-2.so" \
@@ -337,11 +349,11 @@
            "-fPIC" \
            { mark-plt-2.s } \
            {{readelf {-W --version-info} mark-plt-2.rd}} \
-Index: binutils-2.45/binutils/testsuite/lib/binutils-common.exp
+Index: binutils-2.47/binutils/testsuite/lib/binutils-common.exp
 ===================================================================
---- binutils-2.45.orig/binutils/testsuite/lib/binutils-common.exp      
2025-10-21 18:02:42.645210812 +0200
-+++ binutils-2.45/binutils/testsuite/lib/binutils-common.exp   2025-10-21 
18:04:39.439178842 +0200
-@@ -468,6 +468,8 @@ proc supports_persistent_section {} {
+--- binutils-2.47.orig/binutils/testsuite/lib/binutils-common.exp      
2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/binutils/testsuite/lib/binutils-common.exp   2026-09-21 
17:18:48.999624523 +0200
+@@ -489,6 +489,8 @@ proc supports_persistent_section {} {
  
  # Whether a target support DT_RELR sections.
  proc supports_dt_relr {} {
@@ -350,10 +362,10 @@
      if { ([istarget x86_64-*-*]
          || [istarget i?86-*-*]
          || [istarget powerpc64*-*-*]
-Index: binutils-2.45/ld/emulparams/dt-relr.sh
+Index: binutils-2.47/ld/emulparams/dt-relr.sh
 ===================================================================
---- binutils-2.45.orig/ld/emulparams/dt-relr.sh        2025-10-21 
18:02:42.645210812 +0200
-+++ binutils-2.45/ld/emulparams/dt-relr.sh     2025-10-21 18:04:39.439178842 
+0200
+--- binutils-2.47.orig/ld/emulparams/dt-relr.sh        2026-07-26 
01:00:00.000000000 +0200
++++ binutils-2.47/ld/emulparams/dt-relr.sh     2026-09-21 17:18:48.999624523 
+0200
 @@ -1,3 +1,8 @@
 +if false; then
 +    # on old codestreams we don't have the DT_RELR support in the dynamic
@@ -369,25 +381,31 @@
  PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z 
$PARSE_AND_LIST_ARGS_CASE_Z_PACK_RELATIVE_RELOCS"
 +
 +fi
-Index: binutils-2.45/ld/testsuite/ld-i386/i386.exp
+Index: binutils-2.47/ld/testsuite/ld-i386/i386.exp
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-i386/i386.exp   2025-10-21 
18:02:42.645210812 +0200
-+++ binutils-2.45/ld/testsuite/ld-i386/i386.exp        2025-10-21 
18:04:39.439178842 +0200
-@@ -513,8 +513,8 @@ run_dump_test "pr27491-1c"
+--- binutils-2.47.orig/ld/testsuite/ld-i386/i386.exp   2026-07-26 
01:00:00.000000000 +0200
++++ binutils-2.47/ld/testsuite/ld-i386/i386.exp        2026-09-21 
17:20:35.361446608 +0200
+@@ -516,11 +516,11 @@ run_dump_test "pr27491-1c"
  run_dump_test "pr27491-2"
  run_dump_test "pr27491-3"
  run_dump_test "pr27491-4"
 -run_dump_test "dt-relr-1a"
 -run_dump_test "dt-relr-1b"
+-run_dump_test "dt-relr-1c"
+-run_dump_test "dt-relr-1d"
+-run_dump_test "dt-relr-2"
 +#run_dump_test "dt-relr-1a"
 +#run_dump_test "dt-relr-1b"
++#run_dump_test "dt-relr-1c"
++#run_dump_test "dt-relr-1d"
++#run_dump_test "dt-relr-2"
  run_dump_test "pr28870"
  run_dump_test "pr28894"
  run_dump_test "pr30787"
-Index: binutils-2.45/ld/testsuite/ld-powerpc/powerpc.exp
+Index: binutils-2.47/ld/testsuite/ld-powerpc/powerpc.exp
 ===================================================================
---- binutils-2.45.orig/ld/testsuite/ld-powerpc/powerpc.exp     2025-10-21 
18:02:42.645210812 +0200
-+++ binutils-2.45/ld/testsuite/ld-powerpc/powerpc.exp  2025-10-21 
18:04:39.439178842 +0200
+--- binutils-2.47.orig/ld/testsuite/ld-powerpc/powerpc.exp     2026-07-26 
01:00:00.000000000 +0200
++++ binutils-2.47/ld/testsuite/ld-powerpc/powerpc.exp  2026-09-21 
17:18:49.000624540 +0200
 @@ -378,14 +378,14 @@ set ppc64elftests {
        "-a64" {abs-reloc.s}
        {{objdump {-sdr} abs-shared.d}
@@ -411,11 +429,11 @@
  }
  
  set ppceabitests {
-Index: binutils-2.45/gas/testsuite/gas/i386/x86-64.exp
+Index: binutils-2.47/gas/testsuite/gas/i386/x86-64.exp
 ===================================================================
---- binutils-2.45.orig/gas/testsuite/gas/i386/x86-64.exp       2025-10-21 
18:02:42.645210812 +0200
-+++ binutils-2.45/gas/testsuite/gas/i386/x86-64.exp    2025-10-21 
18:04:39.439178842 +0200
-@@ -705,7 +705,6 @@ if [is_elf_format] then {
+--- binutils-2.47.orig/gas/testsuite/gas/i386/x86-64.exp       2026-07-26 
01:00:00.000000000 +0200
++++ binutils-2.47/gas/testsuite/gas/i386/x86-64.exp    2026-09-21 
17:18:49.000624540 +0200
+@@ -712,7 +712,6 @@ if [is_elf_format] then {
      run_dump_test "x86-64-tls"
      run_list_test "x86-64-inval-tls"
      run_dump_test "mixed-mode-reloc64"

++++++ binutils-workaround-premature-libsframe-uninst.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.293510049 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.297510216 +0200
@@ -27,10 +27,10 @@
 and will _not_ be removed by the post-build-checks.
 
 
-Index: binutils-2.45/binutils/Makefile.am
+Index: binutils-2.47/binutils/Makefile.am
 ===================================================================
---- binutils-2.45.orig/binutils/Makefile.am    2025-07-27 01:00:00.000000000 
+0200
-+++ binutils-2.45/binutils/Makefile.am 2026-03-12 15:02:18.419018064 +0100
+--- binutils-2.47.orig/binutils/Makefile.am    2026-07-26 01:00:00.000000000 
+0200
++++ binutils-2.47/binutils/Makefile.am 2026-09-21 15:41:04.107184932 +0200
 @@ -164,7 +164,7 @@ BULIBS = bucomm.c version.c filemode.c
  # Code shared by the ELF related programs.
  ELFLIBS = elfcomm.c
@@ -50,11 +50,11 @@
  
  LIBIBERTY = ../libiberty/libiberty.a
  
-Index: binutils-2.45/binutils/Makefile.in
+Index: binutils-2.47/binutils/Makefile.in
 ===================================================================
---- binutils-2.45.orig/binutils/Makefile.in    2025-07-27 01:00:00.000000000 
+0200
-+++ binutils-2.45/binutils/Makefile.in 2026-03-12 15:15:04.438033508 +0100
-@@ -740,13 +740,14 @@ BULIBS = bucomm.c version.c filemode.c
+--- binutils-2.47.orig/binutils/Makefile.in    2026-07-26 01:00:00.000000000 
+0200
++++ binutils-2.47/binutils/Makefile.in 2026-09-21 15:41:04.107184932 +0200
+@@ -743,13 +743,14 @@ BULIBS = bucomm.c version.c filemode.c
  
  # Code shared by the ELF related programs.
  ELFLIBS = elfcomm.c
@@ -71,11 +71,11 @@
  LIBIBERTY = ../libiberty/libiberty.a
  POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
  EXPECT = expect
-Index: binutils-2.45/bfd/Makefile.am
+Index: binutils-2.47/bfd/Makefile.am
 ===================================================================
---- binutils-2.45.orig/bfd/Makefile.am 2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/bfd/Makefile.am      2026-03-12 15:41:18.368949368 +0100
-@@ -785,7 +785,8 @@ ofiles: stamp-ofiles ; @true
+--- binutils-2.47.orig/bfd/Makefile.am 2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/bfd/Makefile.am      2026-09-21 15:41:04.107184932 +0200
+@@ -787,7 +787,8 @@ ofiles: stamp-ofiles ; @true
  libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
  EXTRA_libbfd_la_SOURCES = $(CFILES)
  libbfd_la_DEPENDENCIES = $(OFILES) ofiles ../libsframe/libsframe.la
@@ -85,11 +85,11 @@
  libbfd_la_LDFLAGS += -release `cat libtool-soversion` @SHARED_LDFLAGS@
  
  # This file holds an array associating configuration triplets and
-Index: binutils-2.45/bfd/Makefile.in
+Index: binutils-2.47/bfd/Makefile.in
 ===================================================================
---- binutils-2.45.orig/bfd/Makefile.in 2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/bfd/Makefile.in      2026-03-12 15:41:25.130065023 +0100
-@@ -1212,7 +1212,8 @@ OFILES = $(BFD_BACKENDS) $(BFD_MACHINES)
+--- binutils-2.47.orig/bfd/Makefile.in 2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/bfd/Makefile.in      2026-09-21 15:41:04.107184932 +0200
+@@ -1217,7 +1217,8 @@ OFILES = $(BFD_BACKENDS) $(BFD_MACHINES)
  libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
  EXTRA_libbfd_la_SOURCES = $(CFILES)
  libbfd_la_DEPENDENCIES = $(OFILES) ofiles ../libsframe/libsframe.la
@@ -99,11 +99,11 @@
  BFD_H_FILES = bfd-in.h libbfd.c hash.c section.c syms.c \
        archive.c archures.c bfd.c bfdio.c \
        cache.c compress.c corefile.c format.c linker.c opncls.c \
-Index: binutils-2.45/gas/Makefile.am
+Index: binutils-2.47/gas/Makefile.am
 ===================================================================
---- binutils-2.45.orig/gas/Makefile.am 2026-03-12 15:53:57.773938766 +0100
-+++ binutils-2.45/gas/Makefile.am      2026-03-12 15:54:10.174150854 +0100
-@@ -408,7 +408,7 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -
+--- binutils-2.47.orig/gas/Makefile.am 2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/gas/Makefile.am      2026-09-21 15:41:04.107184932 +0200
+@@ -410,7 +410,7 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -
  # How to link with both our special library facilities
  # and the system's installed libraries.
  
@@ -112,11 +112,11 @@
  
  # Files to be copied away after each stage in building.
  STAGESTUFF = *.@OBJEXT@ $(noinst_PROGRAMS)
-Index: binutils-2.45/gas/Makefile.in
+Index: binutils-2.47/gas/Makefile.in
 ===================================================================
---- binutils-2.45.orig/gas/Makefile.in 2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/gas/Makefile.in      2026-03-12 15:54:23.734382812 +0100
-@@ -897,7 +897,7 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -
+--- binutils-2.47.orig/gas/Makefile.in 2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/gas/Makefile.in      2026-09-21 15:41:04.107184932 +0200
+@@ -902,7 +902,7 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -
  
  # How to link with both our special library facilities
  # and the system's installed libraries.
@@ -125,10 +125,10 @@
  
  # Files to be copied away after each stage in building.
  STAGESTUFF = *.@OBJEXT@ $(noinst_PROGRAMS)
-Index: binutils-2.45/gprof/Makefile.am
+Index: binutils-2.47/gprof/Makefile.am
 ===================================================================
---- binutils-2.45.orig/gprof/Makefile.am       2025-07-27 01:00:00.000000000 
+0200
-+++ binutils-2.45/gprof/Makefile.am    2026-03-12 15:55:21.326367850 +0100
+--- binutils-2.47.orig/gprof/Makefile.am       2026-07-26 01:00:00.000000000 
+0200
++++ binutils-2.47/gprof/Makefile.am    2026-09-21 15:41:04.107184932 +0200
 @@ -46,7 +46,7 @@ sources = basic_blocks.c call_graph.c cg
        i386.c alpha.c vax.c sparc.c mips.c aarch64.c
  gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
@@ -138,11 +138,11 @@
  
  noinst_HEADERS = \
        basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
-Index: binutils-2.45/gprof/Makefile.in
+Index: binutils-2.47/gprof/Makefile.in
 ===================================================================
---- binutils-2.45.orig/gprof/Makefile.in       2025-07-27 01:00:00.000000000 
+0200
-+++ binutils-2.45/gprof/Makefile.in    2026-03-12 15:55:33.751580377 +0100
-@@ -469,7 +469,7 @@ sources = basic_blocks.c call_graph.c cg
+--- binutils-2.47.orig/gprof/Makefile.in       2026-07-26 01:00:00.000000000 
+0200
++++ binutils-2.47/gprof/Makefile.in    2026-09-21 15:41:04.108184949 +0200
+@@ -472,7 +472,7 @@ sources = basic_blocks.c call_graph.c cg
  
  gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
  gprof_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a $(LIBINTL_DEP)
@@ -151,11 +151,11 @@
  noinst_HEADERS = \
        basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \
        corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
-Index: binutils-2.45/ld/Makefile.am
+Index: binutils-2.47/ld/Makefile.am
 ===================================================================
---- binutils-2.45.orig/ld/Makefile.am  2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/ld/Makefile.am       2026-03-12 15:54:47.614791250 +0100
-@@ -142,7 +142,7 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -
+--- binutils-2.47.orig/ld/Makefile.am  2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/ld/Makefile.am       2026-09-21 15:41:04.108184949 +0200
+@@ -143,7 +143,7 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -
        @INCINTL@ $(HDEFINES) $(CFLAGS) @LARGEFILE_CPPFLAGS@ \
        -DLOCALEDIR="\"$(datadir)/locale\""
  
@@ -164,11 +164,11 @@
  LIBIBERTY = ../libiberty/libiberty.a
  if ENABLE_LIBCTF
  LIBCTF = ../libctf/libctf.la
-Index: binutils-2.45/ld/Makefile.in
+Index: binutils-2.47/ld/Makefile.in
 ===================================================================
---- binutils-2.45.orig/ld/Makefile.in  2025-07-27 01:00:00.000000000 +0200
-+++ binutils-2.45/ld/Makefile.in       2026-03-12 15:55:00.920018798 +0100
-@@ -656,7 +656,7 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -
+--- binutils-2.47.orig/ld/Makefile.in  2026-07-26 01:00:00.000000000 +0200
++++ binutils-2.47/ld/Makefile.in       2026-09-21 15:41:04.108184949 +0200
+@@ -661,7 +661,7 @@ AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -
        @INCINTL@ $(HDEFINES) $(CFLAGS) @LARGEFILE_CPPFLAGS@ \
        -DLOCALEDIR="\"$(datadir)/locale\""
  
@@ -177,4 +177,30 @@
  LIBIBERTY = ../libiberty/libiberty.a
  @ENABLE_LIBCTF_FALSE@LIBCTF = 
  @ENABLE_LIBCTF_TRUE@LIBCTF = ../libctf/libctf.la
+Index: binutils-2.47/gprofng/src/Makefile.am
+===================================================================
+--- binutils-2.47.orig/gprofng/src/Makefile.am 2026-07-26 01:00:00.000000000 
+0200
++++ binutils-2.47/gprofng/src/Makefile.am      2026-09-21 15:51:47.382203358 
+0200
+@@ -103,7 +103,7 @@ CSOURCES = \
+       gethrtime.c \
+       $(NULL)
+ 
+-LIBGPROFNG = libgprofng.la
++LIBGPROFNG = libgprofng.la ../../libsframe/libsframe.la
+ 
+ # This is where we get zlib from.  zlibdir is -L../zlib and zlibinc is
+ # -I../zlib, unless we were configured with --with-system-zlib, in which
+Index: binutils-2.47/gprofng/src/Makefile.in
+===================================================================
+--- binutils-2.47.orig/gprofng/src/Makefile.in 2026-07-26 01:00:00.000000000 
+0200
++++ binutils-2.47/gprofng/src/Makefile.in      2026-09-21 15:52:07.671550873 
+0200
+@@ -547,7 +547,7 @@ CSOURCES = \
+       gethrtime.c \
+       $(NULL)
+ 
+-LIBGPROFNG = libgprofng.la
++LIBGPROFNG = libgprofng.la ../../libsframe/libsframe.la
+ 
+ # This is where we get zlib from.  zlibdir is -L../zlib and zlibinc is
+ # -I../zlib, unless we were configured with --with-system-zlib, in which
 

++++++ binutils-znow.patch ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.310510760 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.313510885 +0200
@@ -1,8 +1,8 @@
-Index: binutils-2.38/ld/ldmain.c
+Index: ld/ldmain.c
 ===================================================================
---- ld/ldmain.c
-+++ ld/ldmain.c
-@@ -309,6 +309,10 @@ main (int argc, char **argv)
+--- ld/ldmain.c.orig   2026-09-21 16:26:33.984861386 +0200
++++ ld/ldmain.c        2026-09-21 16:27:32.888870890 +0200
+@@ -748,6 +748,10 @@ main (int argc, char **argv)
  #endif
    if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0)
      input_flags.add_DT_NEEDED_for_regular = true;


++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-09-22 15:49:53.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ cross-avr-nesc-as.patch ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.475517660 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.478517786 +0200
@@ -1,9 +1,8 @@
 Index: gas/config/tc-avr-nesc.h
 ===================================================================
---- gas/config/tc-avr-nesc.h.orig      2016-02-01 09:58:37.419903606 +0100
-+++ gas/config/tc-avr-nesc.h   2016-02-01 09:58:39.631928732 +0100
-Index: gas/expr.c
-@@ -143,8 +143,12 @@ extern int avr_force_relocation (struct fix *);
+--- gas/config/tc-avr-nesc.h.orig      2026-09-21 17:03:13.082574057 +0200
++++ gas/config/tc-avr-nesc.h   2026-09-21 17:21:00.103870477 +0200
+@@ -144,8 +144,12 @@ extern int avr_force_relocation (struct
     would print `12 34 56 78'.  The default value is 4.  */
  #define LISTING_WORD_SIZE 2
  
@@ -18,11 +17,11 @@
  
  /* An `.lcomm' directive with no explicit alignment parameter will
     use this macro to set P2VAR to the alignment that a request for
-
+Index: gas/expr.c
 ===================================================================
---- gas/expr.c.orig    2016-02-01 09:58:35.743884569 +0100
-+++ gas/expr.c 2016-02-01 09:58:39.631928732 +0100
-@@ -2342,6 +2342,15 @@ get_symbol_name (char ** ilp_return)
+--- gas/expr.c.orig    2026-07-26 01:00:00.000000000 +0200
++++ gas/expr.c 2026-09-21 17:21:00.104870494 +0200
+@@ -2529,6 +2529,15 @@ get_symbol_name (char ** ilp_return)
        ;
        if (is_name_ender (c))
        c = *input_line_pointer++;


++++++ s390-pic-dso.diff ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.508519040 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.511519166 +0200
@@ -1,8 +1,8 @@
 Index: bfd/elf32-s390.c
 ===================================================================
---- bfd/elf32-s390.c.orig      2016-01-25 09:51:06.000000000 +0100
-+++ bfd/elf32-s390.c   2016-01-27 15:24:52.947115619 +0100
-@@ -2782,6 +2782,27 @@ elf_s390_relocate_section (bfd *output_b
+--- bfd/elf32-s390.c.orig      2026-07-26 01:00:00.000000000 +0200
++++ bfd/elf32-s390.c   2026-09-21 16:25:32.999816214 +0200
+@@ -2455,6 +2455,27 @@ elf_s390_relocate_section (struct bfd_li
        case R_390_PC24DBL:
        case R_390_PC32DBL:
        case R_390_PC32:

++++++ x86-64-biarch.patch ++++++
--- /var/tmp/diff_new_pack.CPyHp2/_old  2026-09-30 16:21:31.531520002 +0200
+++ /var/tmp/diff_new_pack.CPyHp2/_new  2026-09-30 16:21:31.534520128 +0200
@@ -1,8 +1,8 @@
 Index: ld/emulparams/elf_i386.sh
 ===================================================================
---- ld/emulparams/elf_i386.sh.orig     2014-10-14 17:39:02.000000000 +0200
-+++ ld/emulparams/elf_i386.sh  2014-10-14 17:39:44.000000000 +0200
-@@ -23,6 +23,10 @@ case "$target" in
+--- ld/emulparams/elf_i386.sh.orig     2026-07-26 01:00:00.000000000 +0200
++++ ld/emulparams/elf_i386.sh  2026-09-21 16:25:20.479601643 +0200
+@@ -49,6 +49,10 @@ case "$target" in
        LIBPATH_SUFFIX=32
        LIBPATH_SUFFIX_SKIP=64
        ;;

Reply via email to