Manual merge of version 2.41-6+rpi1 and 2.43.1-5 to produce 2.43.1-5+rpi1 archive/raspbian/2.43.1-5+rpi1 raspbian/2.43.1-5+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Tue, 1 Oct 2024 06:01:59 +0000 (06:01 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 1 Oct 2024 06:57:23 +0000 (06:57 +0000)
1  2 
debian/changelog
debian/control
debian/control.in
debian/patches/series
debian/rules

index 893f66cff32b7f76cc69e8c199107e338cd87a21,66d04557f37789af20e3a37f7826c6060df5ed91..12da842c855087f6f81c1ffbe467b91d4547ec41
- binutils (2.41-6+rpi1) trixie-staging; urgency=medium
++binutils (2.43.1-5+rpi1) trixie-staging; urgency=medium
 +
 +  [changes brought forward from 2.29-4+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Thu, 17 Aug 2017 15:41:49 +0000]
 +  * Disable testsuite, it fails on our lxc based autobuilders.
 +
 +  [changes brought forward from 2.31.1-16+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Thu, 06 Feb 2020 17:10:11 +0000]
 +  * Allow dependency of binutils on binutils-triplet to be satisfied by
 +    foreign architectures, to facilitate setting up environments where the
 +    linker is 64-bit while everything else is 32-bit.
 +
 +  [changes brought forward from 2.35-3+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Tue, 22 Sep 2020 18:10:17 +0000]
 +  * Build sufficient cross binutils to support u-boot build.
 +
 +  [changes brought forward from 2.35.1-3+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Tue, 01 Dec 2020 21:55:01 +0000]
 +  * Build the same set of cross-binutils on arm64 as on armhf.
 +    (avoids issues when control is generated on armhf and then package is
 +    built on arm64)
 +  * Remove <!nocheck> build-depends as testsuite is disabled.
 +
 +  [changes brought forward from 2.37.90.20220130-2+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Thu, 10 Feb 2022 12:05:47 +0000]
 +  * Apply patch proposed upstream to fix glibc link issue.
 +
 +  [changes brought forward from 2.40-2+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Tue, 23 May 2023 02:13:28 +0000]
 +  * Non-maintainer upload.
 +  * Use sed to adjust help2man output for multiarch consistency.
 +
-  -- Peter Michael Green <plugwash@raspbian.org>  Sat, 21 Oct 2023 00:34:16 +0000
++ -- Peter Michael Green <plugwash@debian.org>  Tue, 01 Oct 2024 06:00:41 +0000
 +
- binutils (2.41-6) unstable; urgency=medium
+ binutils (2.43.1-5) unstable; urgency=medium
  
-   * Update binutils from the 2.41 branch.
-     - Fix PR gas/30856, x86-64: suffix-less PUSH of symbol address.
-     - AArch64: Remove unused function.
-     - x86: restrict prefix use with .insn VEX/XOP/EVEX.
-   * Build packages for loong64. Closes: #1034633.
-   * Fix PR ld/30940, taken from the trunk. Closes: #1053578.
+   * Make the jdk configury dependent on the pkg.binutils.nojava profile.
  
-  -- Matthias Klose <doko@debian.org>  Wed, 11 Oct 2023 03:40:20 +0200
+  -- Matthias Klose <doko@debian.org>  Wed, 18 Sep 2024 10:36:17 +0200
  
- binutils (2.41-5) unstable; urgency=medium
+ binutils (2.43.1-4) unstable; urgency=medium
  
-   * Update binutils from the 2.41 branch.
-     - Fix PR gold/30794 (PPC): internal error in add_output_section_to_load.
-     - Fix PR bfd/30724, cygwin ld performance regression.
+   * New upstream snapshot, taken from the 2.43 branch.
+     - Fix PR32109, aborting at bfd/bfd.c:1236 in int _bfd_doprnt.
  
-  -- Matthias Klose <doko@debian.org>  Tue, 05 Sep 2023 15:53:35 +0200
+  -- Matthias Klose <doko@debian.org>  Thu, 12 Sep 2024 10:37:43 +0200
  
- binutils (2.41-4) unstable; urgency=medium
+ binutils (2.43.1-3) unstable; urgency=medium
  
-   * Update binutils from the 2.41 branch.
-     - Fix PR ld/30697, ppc32 mix of local-dynamic and global-dynamic TLS.
+   * Don't configure --enable-default-hash-style=gnu on mips targets
+     for now. See: #1078819.
+  -- Matthias Klose <doko@debian.org>  Sun, 25 Aug 2024 17:32:28 +0200
+ binutils (2.43.1-2) unstable; urgency=medium
+   * New upstream snapshot, taken from the 2.43 branch.
+     - ld: Add an LTO test for common symbol override.
+     - lto: Add a test for PR ld/32083.
+   * Update VCS attributes.
+   * Add default-jdk-headless to autopkg test dependencies.
+  -- Matthias Klose <doko@debian.org>  Thu, 22 Aug 2024 16:34:57 +0200
+ binutils (2.43.1-1) unstable; urgency=medium
+   * New upstream release.
+     - LTO: Restore the wrapper symbol check for standard function.
+     - RISC-V: Add support for Zimop extension.
+     - RISC-V: Add support for Zcmop extension.
+     - gas: sparc: Fix faligndatai assembly and disassembly.
+     - PR32067, ld -Wl,--oformat,binary crash in _bfd_elf_link_keep_memory.
+     - ld: Add PR ld/32067 tests.
+     - x86: correct .insn with opcode extension and VEX/XOP/EVEX encoding.
+     - gas: correct .irpc handling with empty string.
+     - lto: Don't include unused LTO archive members in output.
+     - gprofng: fix typo in src/collctrl.cc.
+   * gprofng: Build with jdk support.
+   * Move static gprofng library into the binutils-dev package.
+  -- Matthias Klose <doko@debian.org>  Sun, 18 Aug 2024 13:35:14 +0200
+ binutils (2.43-2) unstable; urgency=medium
+   * New upstream snapshot, taken from the 2.43 branch.
+     - LoongArch: Fix DT_RELR and relaxation interaction.
+   * Stop building packages for kfreebsd.
+   * Stop providing i586/i486 symlinks for backports.
+   * ld.bfd, ld.gold: When no package-metadata option is given, fall-back
+     to the envvar ELF_PACKAGE_METADATA.
+  -- Matthias Klose <doko@debian.org>  Wed, 07 Aug 2024 07:16:35 +0200
+ binutils (2.43-1) unstable; urgency=medium
+   * New upstream release.
+   * New upstream snapshot, taken from the 2.43 branch.
+     - Fix PR ld/31956, LTO: Restore the wrapper symbol check for
+       standard function.
+   * Refresh patches.
+   * Build-depend on pkgconf instead of pkg-config.
+   * Configure with --enable-default-hash-style=gnu.
+   * Bump standards version.
+  -- Matthias Klose <doko@debian.org>  Mon, 05 Aug 2024 06:54:19 +0200
+ binutils (2.42.90.20240720-2) unstable; urgency=medium
+   * Package gprofng on riscv64.
+  -- Matthias Klose <doko@debian.org>  Mon, 22 Jul 2024 06:58:53 +0200
+ binutils (2.42.90.20240720-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the 2.43 branch.
+   * Set ELF_PACKAGE_METADATA in the environment.
+   * Update symbols files. Closes: #1064181.
+  -- Matthias Klose <doko@debian.org>  Sun, 21 Jul 2024 15:35:10 +0200
+ binutils (2.42.50.20240710-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+  -- Matthias Klose <doko@debian.org>  Wed, 10 Jul 2024 12:55:51 +0200
+ binutils (2.42.50.20240625-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+  -- Matthias Klose <doko@debian.org>  Tue, 25 Jun 2024 14:12:07 +0200
+ binutils (2.42.50.20240618-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+   * Update the libctf-soname patch for the trunk.
+   * Refresh patches.
+   * Build with -fno-omit-frame-pointer if it's enabled in dpkg-buildflags.
+   * Allow to disable tests using LOCAL_BUILD_OPTIONS.
+  -- Matthias Klose <doko@debian.org>  Tue, 18 Jun 2024 14:38:10 +0200
+ binutils (2.42-5) unstable; urgency=medium
+   * No-change rebuild.
+  -- Matthias Klose <doko@ubuntu.com>  Fri, 29 Mar 2024 18:55:30 +0100
+ binutils (2.42-4) unstable; urgency=medium
+   * New upstream snapshot, taken from the 2.42 branch.
+     - AArch64: Fix the 2nd operand in gcsstr and gcssttr instructions.
+     - AArch64: Remove B16B16, SVE2p1 and SME2p1.
+   * binutils-dev: Install libopcodes_pic.a and libbfd_pic.a.
+  -- Matthias Klose <doko@debian.org>  Tue, 19 Mar 2024 16:08:43 +0100
+ binutils (2.42-3) unstable; urgency=medium
+   * New upstream snapshot, taken from the 2.42 branch.
+     - PR31124: Addendum: Remove PROVIDE of __flmap_init_label, __flmap (AVR).
+     - Mention support for AMD/znver5 in GAS.
+     - x86: Disallow instructions with length > 15 bytes.
+     - LoongArch: gas: Fix the types of symbols referred with %le_*_r
+       in the symtab.
+     - Link x86-64 mark-plt-1.so testcase with --no-as-needed.
+     - PR 31283 windmc: Parse input correctly on big endian hosts.
+     - PR31208, strip can break ELF alignment requirements.
+     - x86/APX: VROUND{P,S}{S,D} encodings require AVX512{F,VL}.
+     - x86-64: Add R_X86_64_CODE_6_GOTTPOFF.
+     - PowerPC: Add support for Power11 options.
+     - x86: Display -msse-check= default as none.
+  -- Matthias Klose <doko@debian.org>  Wed, 21 Feb 2024 23:41:40 +0100
+ binutils (2.42-2) unstable; urgency=medium
+   * New upstream snapshot, taken from the 2.42 branch.
+     - Add missing test case files.
+     - Fix PR binutils/31314, chew crashing on use of uninitialized value.
+   * Update bpf target from the trunk:
+     - bpf: there are no ldinddw nor ldabsdw instructions.
+   * Update libgprofng symbols file.
+  -- Matthias Klose <doko@debian.org>  Tue, 30 Jan 2024 11:04:12 +0100
+ binutils (2.42-1) unstable; urgency=medium
+   * New upstream release.
+  -- Matthias Klose <doko@debian.org>  Mon, 29 Jan 2024 16:42:44 +0100
+ binutils (2.41.90.20240122-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the 2.42 branch.
+   * Update libgprofng symbols file.
+   * Explicitly add i686-linux-gnu for the amd64 binutils.
+  -- Matthias Klose <doko@debian.org>  Mon, 22 Jan 2024 16:01:28 +0100
+ binutils (2.41.90.20240115-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the 2.42 branch.
+   * Drop the gold-mips patch. Closes: #1049455.
+   * Enabled gold on amd64-hurd. Closes: #1060419.
+   * Configure hppa binutils with --enable-targets=hppa64-linux-gnu.
+     Closes: #1059674.
+   * Drop nocheck override for powerpc and sparc64. Closes: #1059703.
+   * Configure again with --enable-pgo-build=lto.
+   * Refresh patches.
+  -- Matthias Klose <doko@debian.org>  Mon, 15 Jan 2024 16:43:24 +0100
+ binutils (2.41.50.20231227-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+  -- Matthias Klose <doko@debian.org>  Wed, 27 Dec 2023 10:36:14 +0100
+ binutils (2.41.50.20231214-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+     - Fixes a memory leak. Closes: #1057962.
+  -- Matthias Klose <doko@debian.org>  Thu, 14 Dec 2023 17:33:06 +0100
+ binutils (2.41.50.20231206-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+   * Add more GCC test dependencies for builds on ppc64el and s390x.
+   * Update libgprofng symbols file.
+   * Reset the ignored-regression list.
+  -- Matthias Klose <doko@debian.org>  Wed, 06 Dec 2023 08:47:54 +0100
+ binutils (2.41.50.20231202-1) unstable; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+     - Fix generation of gprofng man pages. Closes: #1042966.
+   * Split out some macros into debian/rules.defs.
+   * Ignore regressions compared to 2.41, See PR ld/31100, PR ld/31101,
+     PR ld/31102.
+  -- Matthias Klose <doko@debian.org>  Sat, 02 Dec 2023 11:15:23 +0100
+ binutils (2.41.50.20231125-1) experimental; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+   * Build cross packages on s390x.
+  -- Matthias Klose <doko@debian.org>  Sat, 25 Nov 2023 10:44:41 +0100
+ binutils (2.41.50.20231101-1) experimental; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+  -- Matthias Klose <doko@debian.org>  Wed, 01 Nov 2023 08:19:21 +0100
+ binutils (2.41.50.20231010-1) experimental; urgency=medium
+   * New upstream snapshot, taken from the trunk.
+   * Build packages for loong64. Addresses: #1034633.
+  -- Matthias Klose <doko@debian.org>  Tue, 10 Oct 2023 12:19:36 +0200
+ binutils (2.41.50.20230905-1) experimental; urgency=medium
+   * New upstream snapshot, taken from the trunk.
    * Don't create a dangling gold symlink on archs where it's not available.
  
-  -- Matthias Klose <doko@debian.org>  Wed, 09 Aug 2023 16:36:52 +0200
+  -- Matthias Klose <doko@debian.org>  Tue, 05 Sep 2023 16:05:21 +0200
  
- binutils (2.41-3) unstable; urgency=medium
+ binutils (2.41.50.20230803-1) experimental; urgency=medium
  
-   * Apply proposed patch for PR gprofng/30700.
-   * Also ignore the gprofng.display/display.exp synprog test failure.
+   * New upstream snapshot, taken from the trunk.
+   * Build alpha arc hppa m68k sh4 sparc64 cross packages on ppc64el.
+   * Ignore gprofng and bootstrap test regressions.
  
-  -- Matthias Klose <doko@debian.org>  Thu, 03 Aug 2023 06:10:47 +0200
+  -- Matthias Klose <doko@debian.org>  Thu, 03 Aug 2023 04:09:45 +0200
  
- binutils (2.41-2) unstable; urgency=medium
+ binutils (2.41.50.20230731-1) experimental; urgency=medium
  
-   * Update binutils from the 2.41 branch.
-     - Fix PR gas/28989, rework timestamp preservation on doc/asconfig.texi.
-     - Update translations.
+   * New upstream snapshot, taken from the trunk.
    * Bump symbols files to final 2.41 version.
-   * Update VCS attributes.
-   * Ignore gprofng and bootstrap test regressions.
-   * gprofng: Fix build with 64bit file offset on 32bit machines, patch taken
-     from the trunk.
-   * Build alpha arc hppa m68k sh4 sparc64 cross packages on ppc64el.
  
-  -- Matthias Klose <doko@debian.org>  Wed, 02 Aug 2023 09:49:46 +0200
+  -- Matthias Klose <doko@debian.org>  Mon, 31 Jul 2023 08:09:39 +0200
  
  binutils (2.41-1) unstable; urgency=medium
  
diff --cc debian/control
index 6e770d8b3778934cfdade112e7d0e9820a03bf89,5d7fd138d3567f9f4dcfe46aa135d36426d3a5d9..f5d49c001bd7bb3cd3e8796b980576965223e99f
@@@ -7,7 -7,24 +7,8 @@@ Standards-Version: 4.7.
  Build-Depends: autoconf (>= 2.64), dpkg-dev (>= 1.19.0.5),
    bison, flex, gettext, texinfo, dejagnu, quilt, chrpath, dwz, debugedit (>= 4.16),
    python3:any, file, xz-utils, lsb-release, zlib1g-dev, procps, help2man,
-   libjansson-dev, pkg-config, libzstd-dev,
+   libjansson-dev, pkgconf, libzstd-dev,
+   default-jdk-headless [amd64 arm64 i386 riscv64 x32] <!pkg.binutils.nojava>,
 -  g++-aarch64-linux-gnu [amd64 i386 ppc64el s390x x32] <!nocheck>,
 -  g++-arm-linux-gnueabi [amd64 arm64 i386 x32] <!nocheck>,
 -  g++-arm-linux-gnueabihf [amd64 arm64 i386 ppc64el s390x x32] <!nocheck>,
 -  g++-powerpc64le-linux-gnu [amd64 arm64 i386 ppc64 s390x x32] <!nocheck>,
 -  g++-s390x-linux-gnu [amd64 arm64 i386 ppc64el x32] <!nocheck>,
 -  g++-alpha-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-hppa-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-m68k-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-powerpc-linux-gnu [amd64 i386 ppc64el s390x x32] <!nocheck>,
 -  g++-powerpc64-linux-gnu [amd64 i386 s390x x32] <!nocheck>,
 -  g++-riscv64-linux-gnu [amd64 arm64 i386 ppc64el s390x x32] <!nocheck>,
 -  g++-sh4-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-sparc64-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-i686-linux-gnu [amd64 arm64 ppc64el s390x x32] <!nocheck>,
 -  g++-x86-64-linux-gnu [arm64 i386 ppc64el s390x] <!nocheck>,
 -  g++-x86-64-linux-gnux32 [amd64 arm64 i386 ppc64el] <!nocheck>,
  Build-Conflicts: libelf-dev
  Rules-Requires-Root: no
  Homepage: https://www.gnu.org/software/binutils/
@@@ -260,7 -278,7 +262,7 @@@ Description: Common files for the GNU a
  
  Package: binutils-x86-64-linux-gnu
  Priority: optional
- Architecture: amd64 arm64 i386 ppc64el x32 armhf
 -Architecture: amd64 arm64 i386 ppc64el x32 s390x
++Architecture: amd64 arm64 i386 ppc64el x32 armhf s390x
  Multi-Arch: allowed
  Depends: binutils-common (= ${binary:Version}),
    ${shlibs:Depends}, ${extraDepends}
@@@ -278,7 -297,7 +281,7 @@@ Description: GNU binary utilities, for 
  Package: binutils-x86-64-linux-gnu-dbg
  Section: debug
  Priority: optional
- Architecture: amd64 arm64 i386 ppc64el x32 armhf
 -Architecture: amd64 arm64 i386 ppc64el x32 s390x
++Architecture: amd64 arm64 i386 ppc64el x32 armhf s390x
  Multi-Arch: foreign
  Depends: binutils-x86-64-linux-gnu (= ${binary:Version})
  Description: GNU binary utilities, for x86-64-linux-gnu target (debug symbols)
  
  Package: binutils-i686-linux-gnu
  Priority: optional
- Architecture: i386 amd64 arm64 ppc64el x32 armhf
 -Architecture: i386 amd64 arm64 ppc64el x32 s390x
++Architecture: i386 amd64 arm64 ppc64el x32 armhf s390x
  Multi-Arch: allowed
  Depends: binutils-common (= ${binary:Version}),
    ${shlibs:Depends}, ${extraDepends}
@@@ -304,7 -324,7 +308,7 @@@ Description: GNU binary utilities, for 
  Package: binutils-i686-linux-gnu-dbg
  Section: debug
  Priority: optional
- Architecture: i386 amd64 arm64 ppc64el x32 armhf
 -Architecture: i386 amd64 arm64 ppc64el x32 s390x
++Architecture: i386 amd64 arm64 ppc64el x32 armhf s390x
  Multi-Arch: foreign
  Depends: binutils-i686-linux-gnu (= ${binary:Version})
  Description: GNU binary utilities, for i686-linux-gnu target (debug symbols)
  
  Package: binutils-aarch64-linux-gnu
  Priority: optional
- Architecture: arm64 amd64 i386 x32 ppc64el armhf
 -Architecture: arm64 amd64 i386 x32 ppc64el s390x
++Architecture: arm64 amd64 i386 x32 ppc64el armhf s390x
  Multi-Arch: allowed
  Depends: binutils-common (= ${binary:Version}),
    ${shlibs:Depends}, ${extraDepends}
@@@ -330,7 -351,7 +335,7 @@@ Description: GNU binary utilities, for 
  Package: binutils-aarch64-linux-gnu-dbg
  Section: debug
  Priority: optional
- Architecture: arm64 amd64 i386 x32 ppc64el armhf
 -Architecture: arm64 amd64 i386 x32 ppc64el s390x
++Architecture: arm64 amd64 i386 x32 ppc64el armhf s390x
  Multi-Arch: foreign
  Depends: binutils-aarch64-linux-gnu (= ${binary:Version})
  Description: GNU binary utilities, for aarch64-linux-gnu target (debug symbols)
@@@ -390,7 -413,7 +397,7 @@@ Description: GNU binary utilities, for 
  
  Package: binutils-powerpc64le-linux-gnu
  Priority: optional
- Architecture: ppc64el
 -Architecture: ppc64el amd64 i386 x32 ppc64 arm64 s390x
++Architecture: ppc64el s390x
  Multi-Arch: allowed
  Depends: binutils-common (= ${binary:Version}),
    ${shlibs:Depends}, ${extraDepends}
@@@ -408,7 -432,7 +416,7 @@@ Description: GNU binary utilities, for 
  Package: binutils-powerpc64le-linux-gnu-dbg
  Section: debug
  Priority: optional
- Architecture: ppc64el
 -Architecture: ppc64el amd64 i386 x32 ppc64 arm64 s390x
++Architecture: ppc64el s390x
  Multi-Arch: foreign
  Depends: binutils-powerpc64le-linux-gnu (= ${binary:Version})
  Description: GNU binary utilities, for powerpc64le-linux-gnu target (debug symbols)
@@@ -598,7 -629,7 +613,7 @@@ Description: GNU binary utilities, for 
  
  Package: binutils-powerpc-linux-gnu
  Priority: optional
- Architecture: powerpc arm64
 -Architecture: powerpc amd64 i386 x32 arm64 ppc64el s390x
++Architecture: powerpc arm64 s390x
  Multi-Arch: allowed
  Depends: binutils-common (= ${binary:Version}),
    ${shlibs:Depends}, ${extraDepends}
@@@ -616,7 -648,7 +632,7 @@@ Description: GNU binary utilities, for 
  Package: binutils-powerpc-linux-gnu-dbg
  Section: debug
  Priority: optional
- Architecture: powerpc arm64
 -Architecture: powerpc amd64 i386 x32 arm64 ppc64el s390x
++Architecture: powerpc arm64 s390x
  Multi-Arch: foreign
  Depends: binutils-powerpc-linux-gnu (= ${binary:Version})
  Description: GNU binary utilities, for powerpc-linux-gnu target (debug symbols)
  
  Package: binutils-powerpc64-linux-gnu
  Priority: optional
- Architecture: ppc64
 -Architecture: ppc64 amd64 i386 x32 ppc64el s390x
++Architecture: ppc64 s390x
  Multi-Arch: allowed
  Depends: binutils-common (= ${binary:Version}),
    ${shlibs:Depends}, ${extraDepends}
@@@ -642,7 -675,7 +659,7 @@@ Description: GNU binary utilities, for 
  Package: binutils-powerpc64-linux-gnu-dbg
  Section: debug
  Priority: optional
- Architecture: ppc64
 -Architecture: ppc64 amd64 i386 x32 ppc64el s390x
++Architecture: ppc64 s390x
  Multi-Arch: foreign
  Depends: binutils-powerpc64-linux-gnu (= ${binary:Version})
  Description: GNU binary utilities, for powerpc64-linux-gnu target (debug symbols)
  
  Package: binutils-riscv64-linux-gnu
  Priority: optional
- Architecture: riscv64 amd64 i386 x32 arm64 ppc64el armhf
 -Architecture: riscv64 amd64 i386 x32 arm64 ppc64el s390x
++Architecture: riscv64 amd64 i386 x32 arm64 ppc64el armhf s390x
  Multi-Arch: allowed
  Depends: binutils-common (= ${binary:Version}),
    ${shlibs:Depends}, ${extraDepends}
@@@ -668,7 -702,7 +686,7 @@@ Description: GNU binary utilities, for 
  Package: binutils-riscv64-linux-gnu-dbg
  Section: debug
  Priority: optional
- Architecture: riscv64 amd64 i386 x32 arm64 ppc64el armhf
 -Architecture: riscv64 amd64 i386 x32 arm64 ppc64el s390x
++Architecture: riscv64 amd64 i386 x32 arm64 ppc64el armhf s390x
  Multi-Arch: foreign
  Depends: binutils-riscv64-linux-gnu (= ${binary:Version})
  Description: GNU binary utilities, for riscv64-linux-gnu target (debug symbols)
index dd7067c6b3fb11fe679248be7a6ea1f7e8a30690,90c18093807bb569b795484961aa7f6e7b8cb060..adb289712b433a83e7762bae0234f0a73af2fc7f
@@@ -3,11 -3,28 +3,12 @@@ Section: deve
  Priority: optional
  Maintainer: Matthias Klose <doko@debian.org>
  Uploaders: James Troup <binutils@elmo.tasta.io>
- Standards-Version: 4.6.2
+ Standards-Version: 4.7.0
  Build-Depends: autoconf (>= 2.64), @dpkg_dev@
 -  bison, flex, gettext, texinfo, dejagnu, quilt, chrpath, dwz, debugedit (>= 4.16),
 +  bison,, flex, gettext, texinfo, dejagnu, quilt, chrpath, dwz, debugedit (>= 4.16),
    python3:any, file, xz-utils, lsb-release, zlib1g-dev, procps, help2man,
-   libjansson-dev, pkg-config, libzstd-dev
+   libjansson-dev, pkgconf, libzstd-dev,
 -  default-jdk-headless [amd64 arm64 i386 riscv64 x32] <!pkg.binutils.nojava>,
 -  g++-aarch64-linux-gnu [amd64 i386 ppc64el s390x x32] <!nocheck>,
 -  g++-arm-linux-gnueabi [amd64 arm64 i386 x32] <!nocheck>,
 -  g++-arm-linux-gnueabihf [amd64 arm64 i386 ppc64el s390x x32] <!nocheck>,
 -  g++-powerpc64le-linux-gnu [amd64 arm64 i386 ppc64 s390x x32] <!nocheck>,
 -  g++-s390x-linux-gnu [amd64 arm64 i386 ppc64el x32] <!nocheck>,
 -  g++-alpha-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-hppa-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-m68k-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-powerpc-linux-gnu [amd64 i386 ppc64el s390x x32] <!nocheck>,
 -  g++-powerpc64-linux-gnu [amd64 i386 s390x x32] <!nocheck>,
 -  g++-riscv64-linux-gnu [amd64 arm64 i386 ppc64el s390x x32] <!nocheck>,
 -  g++-sh4-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-sparc64-linux-gnu [amd64 i386 x32] <!nocheck>,
 -  g++-i686-linux-gnu [amd64 arm64 ppc64el s390x x32] <!nocheck>,
 -  g++-x86-64-linux-gnu [arm64 i386 ppc64el s390x] <!nocheck>,
 -  g++-x86-64-linux-gnux32 [amd64 arm64 i386 ppc64el] <!nocheck>,
++  default-jdk-headless [amd64 arm64 i386 riscv64 x32] <!pkg.binutils.nojava>
  Build-Conflicts: libelf-dev
  Rules-Requires-Root: no
  Homepage: https://www.gnu.org/software/binutils/
index 4e32de91158567b84d35c3bca2a7157af0c4534a,8020eb8d5863551d1e54f813d2573ff43128c08c..08b1c516e36fda34aae29d433f7afa0acc654a91
@@@ -12,20 -12,24 +12,15 @@@ branch-version.dif
  135_bfd_soversion.patch
  136_bfd_pic.patch
  157_ar_scripts_with_tilde.patch
 -#158_ld_system_root.patch
  161_gold_dummy_zoption.diff
 -
 -# only applied for GFDL builds
  164_ld_doc_remove_xref.diff
 -
  gprof-build.diff
  aarch64-libpath.diff
- gold-mips.diff
 -#pr-ld-16428.diff
  gold-no-keep-files-mapped.diff
  
- objcopy-timestamps.diff
- gprofng-large-files.diff
 -# trunk backports
 -
 -# experimental ...
 -#infinity-notes.diff
  libctf-soname.diff
 -
  mips-hack.diff
 -
  perl-shebang.diff
- link-jansson.diff
- pr30700.diff
- pr30940.diff
+ env-package-metadata.diff
 +fix-glibc-link-assertion.patch
 +auto-2.38.50.20220707-1+rpi1-84d864a8c2aeed15bfe172bf90b18895b65054fa-1657735965
diff --cc debian/rules
index 85c53083823592efa40e47f4e9b423e5d710d3fe,a1b77c82cd66316ba56a09c4fa9eb758e501c7b4..4921f004d1c018e4ea64dec825e0df917f26f3c1
@@@ -144,11 -127,10 +127,11 @@@ ifeq ($(DEB_SOURCE),binutils
                     alpha arc hppa loong64 m68k \
                     powerpc ppc64 sh4 sparc64 \
                     ia64 riscv64 \
-                    kfreebsd-amd64 kfreebsd-i386 hurd-amd64 hurd-i386
+                    hurd-amd64 hurd-i386
    else ifeq ($(DEB_HOST_ARCH),arm64)
 -    CROSS_ARCHS ?= amd64 armel armhf i386 powerpc ppc64el riscv64 s390x \
 -                 alpha arc hppa loong64 m68k sh4 sparc64 x32
 +    CROSS_ARCHS ?= amd64 armel armhf i386 riscv64
 +  else ifeq ($(DEB_HOST_ARCH),armhf)
 +    CROSS_ARCHS ?= amd64 armel arm64 i386 riscv64
    else ifeq ($(DEB_HOST_ARCH),ppc64)
      CROSS_ARCHS ?= ppc64el
    else ifeq ($(DEB_HOST_ARCH),ppc64el)
@@@ -189,34 -173,29 +174,29 @@@ ifneq (,$(ADT_TEST_TRIGGERS)
  endif
  endif
  
- ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 arm64 x32))
-   with_gprofng = yes
-   CONF_GPROFNG = --enable-gprofng
- endif
- HOST_ARCHS_armhf = amd64 i386 x32 arm64 ppc64el
+ HOST_ARCHS_armhf = amd64 i386 x32 arm64 ppc64el s390x
 -HOST_ARCHS_armel = amd64 i386 x32 arm64 ppc64el
 -HOST_ARCHS_arm64 = amd64 i386 x32 ppc64el s390x
 +HOST_ARCHS_armel = amd64 i386 x32 arm64 ppc64el armhf
- HOST_ARCHS_arm64 = amd64 i386 x32 ppc64el armhf
- HOST_ARCHS_powerpc = amd64 i386 x32 ppc64el
- HOST_ARCHS_ppc64el = amd64 i386 x32 ppc64
++HOST_ARCHS_arm64 = amd64 i386 x32 ppc64el s390x armhf
+ HOST_ARCHS_powerpc = amd64 i386 x32 arm64 ppc64el s390x
+ HOST_ARCHS_ppc64el = amd64 i386 x32 ppc64 arm64 s390x
  HOST_ARCHS_s390x = amd64 i386 x32 arm64 ppc64el
- HOST_ARCHS_amd64 = arm64 i386 ppc64el x32 armhf
- HOST_ARCHS_i386 = amd64 arm64 ppc64el x32 armhf
 -HOST_ARCHS_amd64 = arm64 i386 ppc64el x32 s390x
 -HOST_ARCHS_i386 = amd64 arm64 ppc64el x32 s390x
++HOST_ARCHS_amd64 = arm64 i386 ppc64el x32 s390x armhf
++HOST_ARCHS_i386 = amd64 arm64 ppc64el x32 s390x armhf
  HOST_ARCHS_ia64 = amd64 i386 x32
- HOST_ARCHS_riscv64 = amd64 i386 x32 arm64 ppc64el armhf
 -HOST_ARCHS_riscv64 = amd64 i386 x32 arm64 ppc64el s390x
++HOST_ARCHS_riscv64 = amd64 i386 x32 arm64 ppc64el s390x armhf
  
  HOST_ARCHS_alpha = amd64 i386 x32 arm64 ppc64el
  HOST_ARCHS_arc = amd64 i386 x32 arm64 ppc64el
  HOST_ARCHS_hppa = amd64 i386 x32 arm64 ppc64el
  HOST_ARCHS_loong64 = amd64 i386 x32 arm64 ppc64el
  HOST_ARCHS_m68k = amd64 i386 x32 arm64 ppc64el
- HOST_ARCHS_ppc64 = amd64 i386 x32 ppc64el
- HOST_ARCHS_sh4 = amd64 i386 x32
- HOST_ARCHS_sparc64 = amd64 i386 x32
- HOST_ARCHS_x32 = amd64 i386 ppc64el
+ HOST_ARCHS_ppc64 = amd64 i386 x32 ppc64el s390x
 -HOST_ARCHS_sh4 = amd64 i386 x32 arm64 ppc64el
 -HOST_ARCHS_sparc64 = amd64 i386 x32 arm64 ppc64el
++HOST_ARCHS_sh4 = amd64 i386 x32 ppc64el
++HOST_ARCHS_sparc64 = amd64 i386 x32 ppc64el
+ HOST_ARCHS_x32 = amd64 arm64 i386 ppc64el
  
  HOST_ARCHS_mips = amd64 i386 x32
 -HOST_ARCHS_mipsel = amd64 i386 x32 arm64 ppc64el
 +HOST_ARCHS_mipsel = amd64 i386 x32 ppc64el
  HOST_ARCHS_mipsn32 = amd64 i386 x32
  HOST_ARCHS_mipsn32el = amd64 i386 x32
  HOST_ARCHS_mips64 = amd64 i386 x32
@@@ -433,138 -405,14 +406,14 @@@ CONFARGS = $(BINUTILS_BASECONF) 
  # not yet ready for GCC 4.9
  CONFARGS += --disable-werror
  
- DEB_TARGET_MULTIARCH32_amd64          = i386-linux-gnu
- DEB_TARGET_MULTIARCHX32_amd64         = x86_64-linux-gnux32
- DEB_TARGET_MULTIARCH32_x32            = i386-linux-gnu
- DEB_TARGET_MULTIARCH64_x32            = x86_64-linux-gnu
- DEB_TARGET_MULTIARCH32_powerpc                = powerpc-linux-gnu
- DEB_TARGET_MULTIARCH32_s390x          = s390-linux-gnu
- DEB_TARGET_MULTIARCH32_sparc64                = sparc-linux-gnu
- DEB_TARGET_MULTIARCH32_kfreebsd-amd64 = i386-kfreebsd-gnu
- DEB_TARGET_MULTIARCH64_i386           = x86_64-linux-gnu
- DEB_TARGET_MULTIARCHX32_i386          = x86_64-linux-gnux32
- DEB_TARGET_MULTIARCH64_powerpc                = powerpc64-linux-gnu
- DEB_TARGET_MULTIARCH64_sparc          = sparc64-linux-gnu
- DEB_TARGET_MULTIARCH64_s390           = s390x-linux-gnu
- DEB_TARGET_MULTIARCH64_kfreebsd-i386  = x86_64-kfreebsd-gnu
- DEB_TARGET_MULTIARCH64_mips           = mips64-linux-gnuabi64
- DEB_TARGET_MULTIARCHN32_mips          = mips64-linux-gnuabin32
- DEB_TARGET_MULTIARCH64_mipsel         = mips64el-linux-gnuabi64
- DEB_TARGET_MULTIARCHN32_mipsel                = mips64el-linux-gnuabin32
- DEB_TARGET_MULTIARCH64_mipsn32                = mips64-linux-gnuabi64
- DEB_TARGET_MULTIARCH32_mipsn32                = mips-linux-gnu
- DEB_TARGET_MULTIARCH64_mipsn32el      = mips64el-linux-gnuabi64
- DEB_TARGET_MULTIARCH32_mipsn32el      = mipsel-linux-gnu
- DEB_TARGET_MULTIARCH32_mips64         = mips-linux-gnu
- DEB_TARGET_MULTIARCHN32_mips64                = mips64-linux-gnuabin32
- DEB_TARGET_MULTIARCH32_mips64el               = mipsel-linux-gnu
- DEB_TARGET_MULTIARCHN32_mips64el      = mips64el-linux-gnuabin32
- DEB_TARGET_MULTIARCH64_mipsr6         = mipsisa64r6-linux-gnuabi64
- DEB_TARGET_MULTIARCHN32_mipsr6        = mipsisa64r6-linux-gnuabin32
- DEB_TARGET_MULTIARCH64_mipsr6el       = mipsisa64r6el-linux-gnuabi64
- DEB_TARGET_MULTIARCHN32_mipsr6el      = mipsisa64r6el-linux-gnuabin32
- DEB_TARGET_MULTIARCH64_mipsn32r6      = mipsisa64r6-linux-gnuabi64
- DEB_TARGET_MULTIARCH32_mipsn32r6      = mipsisa32r6-linux-gnu
- DEB_TARGET_MULTIARCH64_mipsn32r6el    = mipsisa64r6el-linux-gnuabi64
- DEB_TARGET_MULTIARCH32_mipsn32r6el    = mipsisa32r6el-linux-gnu
- DEB_TARGET_MULTIARCH32_mips64r6               = mipsisa32r6-linux-gnu
- DEB_TARGET_MULTIARCHN32_mips64r6      = mipsisa64r6-linux-gnuabin32
- DEB_TARGET_MULTIARCH32_mips64r6el     = mipsisa32r6el-linux-gnu
- DEB_TARGET_MULTIARCHN32_mips64r6el    = mipsisa64r6el-linux-gnuabin32
- DEB_TARGET_MULTIARCH32_arm64          = aarch64_ilp32-linux-gnu
- SET_MULTIARCH_ENV = \
-       DEB_TARGET_MULTIARCH=$(call _multiarch,$1) \
-       $(if $(DEB_TARGET_MULTIARCH32_$1) ,DEB_TARGET_MULTIARCH32=$(DEB_TARGET_MULTIARCH32_$1)) \
-       $(if $(DEB_TARGET_MULTIARCH64_$1) ,DEB_TARGET_MULTIARCH64=$(DEB_TARGET_MULTIARCH64_$1)) \
-       $(if $(DEB_TARGET_MULTIARCHX32_$1),DEB_TARGET_MULTIARCHX32=$(DEB_TARGET_MULTIARCHX32_$1)) \
-       $(if $(DEB_TARGET_MULTIARCHN32_$1),DEB_TARGET_MULTIARCHN32=$(DEB_TARGET_MULTIARCHN32_$1))
- CONFARGS_TARGET_sparc         = --enable-targets=sparc64-linux-gnu
- CONFLICTS_TARGET_sparc                = -VextraConflicts="libc6-dev-sparc64 (<< 2.2.5-7)"
- CONFARGS_TARGET_sparc64               = --enable-targets=sparc-linux-gnu
- CONFLICTS_TARGET_sparc64      = -VextraConflicts="libc6-dev-sparc64 (<< 2.2.5-7)"
- CONFARGS_TARGET_powerpc               = --enable-targets=powerpc64-linux-gnu
- CONFARGS_TARGET_ppc64         = --enable-targets=powerpc-linux-gnu
- CONFARGS_TARGET_ppc64el               = --enable-targets=powerpc-linux-gnu
- CONFARGS_TARGET_s390          = --enable-targets=s390x-linux-gnu
- CONFARGS_TARGET_s390x         = --enable-targets=s390-linux-gnu
- CONFARGS_TARGET_amd64         = --enable-targets=x86_64-linux-gnux32,x86_64-pep
- CONFARGS_TARGET_i386          = --enable-targets=x86_64-linux-gnu,x86_64-linux-gnux32,x86_64-pep
- CONFARGS_TARGET_x32           = --enable-targets=x86_64-linux-gnu,x86_64-pep
- CONFLICTS_TARGET_amd64                = -VextraConflicts="binutils-mingw-w64-i686 (<< 2.23.52.20130612-1+3), binutils-mingw-w64-x86-64 (<< 2.23.52.20130612-1+3)"
- CONFLICTS_TARGET_i386 = $(CONFLICTS_TARGET_amd64)
- CONFLICTS_TARGET_x32  = $(CONFLICTS_TARGET_amd64)
- CONFARGS_TARGET_riscv64               = --with-isa-spec=2.2
- CONFARGS_TARGET_kfreebsd-i386 = --enable-targets=x86_64-kfreebsd-gnu
- CONFARGS_TARGET_mips          = --enable-targets=mips64-linux-gnuabi64,mips64-linux-gnuabin32
- CONFARGS_TARGET_mipsel                = --enable-targets=mips64el-linux-gnuabi64,mips64el-linux-gnuabin32 --enable-mips-fix-loongson3-llsc=yes
- CONFARGS_TARGET_mipsn32               = --enable-targets=mips64-linux-gnuabi64,mips-linux-gnu
- CONFARGS_TARGET_mipsn32el     = --enable-targets=mips64el-linux-gnuabi64,mipsel-linux-gnu --enable-mips-fix-loongson3-llsc=yes
- CONFARGS_TARGET_mips64                = --enable-targets=mips64-linux-gnuabin32,mips-linux-gnu
- CONFARGS_TARGET_mips64el      = --enable-targets=mips64el-linux-gnuabin32,mipsel-linux-gnu --enable-mips-fix-loongson3-llsc=yes
- CONFARGS_TARGET_mipsr6        = --enable-targets=mipsisa64r6-linux-gnuabi64,mipsisa64r6-linux-gnuabin32
- CONFARGS_TARGET_mipsr6el      = --enable-targets=mipsisa64r6el-linux-gnuabi64,mipsisa64r6el-linux-gnuabin32
- CONFARGS_TARGET_mipsn32r6     = --enable-targets=mipsisa64r6-linux-gnuabi64,mipsisa32r6-linux-gnu
- CONFARGS_TARGET_mipsn32r6el   = --enable-targets=mipsisa64r6el-linux-gnuabi64,mipsisa32r6el-linux-gnu
- CONFARGS_TARGET_mips64r6      = --enable-targets=mipsisa64r6-linux-gnuabin32,mipsisa32r6-linux-gnu
- CONFARGS_TARGET_mips64r6el    = --enable-targets=mipsisa64r6el-linux-gnuabin32,mipsisa32r6el-linux-gnu
- CONFARGS_TARGET_aarch64               = --enable-targets=aarch64_be-linux-gnu
- CONFARGS_TARGET_arc           = --with-cpu=hs38_linux
 -with_check := yes
 +with_check := disabled by plugwash
  ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
    # override buildd admins to run the testsuite anyway ...
-   ifeq (,$(filter $(DEB_HOST_ARCH), m68k powerpc sh4 sparc64))
+   ifneq (,$(filter $(DEB_HOST_ARCH), m68k sh4))
+     ifneq (,$(findstring nocheck,$(LOCAL_BUILD_OPTIONS)))
+       with_check := disabled through LOCAL_BUILD_OPTIONS
+     endif
+   else
      with_check := disabled through DEB_BUILD_OPTIONS
    endif
  endif