Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2021-02-23 20:17:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and      /work/SRC/openSUSE:Factory/.binutils.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "binutils"

Tue Feb 23 20:17:37 2021 rev:146 rq:869232 version:2.36

Changes:
--------
--- /work/SRC/openSUSE:Factory/binutils/binutils.changes        2020-11-23 
18:38:14.232606646 +0100
+++ /work/SRC/openSUSE:Factory/.binutils.new.2378/binutils.changes      
2021-02-23 20:17:39.811510282 +0100
@@ -1,0 +2,123 @@
+Thu Feb  4 08:40:53 UTC 2021 - Martin Li??ka <mli...@suse.cz>
+
+- Bump 2.36 branch diff.
+
+-------------------------------------------------------------------
+Wed Feb  3 08:39:37 UTC 2021 - Martin Li??ka <mli...@suse.cz>
+
+- Update 2.36 branch diff which should fix PR27311 completely.
+  It fixes also PR27284.
+- Remove temporary fix 
0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch.
+
+-------------------------------------------------------------------
+Tue Feb  2 13:07:22 UTC 2021 - Martin Li??ka <mli...@suse.cz>
+
+- Add temporary upstream fix for PR27311
+  0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch.
+
+-------------------------------------------------------------------
+Sun Jan 24 16:56:39 UTC 2021 - Martin Li??ka <mli...@suse.cz>
+
+- Update to binutils 2.36:
+   New features in the Assembler:
+    General:
+     * When setting the link order attribute of ELF sections, it is now
+       possible to use a numeric section index instead of symbol name.
+     * Added a .nop directive to generate a single no-op instruction in
+       a target neutral manner.  This instruction does have an effect on
+       DWARF line number generation, if that is active.
+     * Removed --reduce-memory-overheads and --hash-size as gas now
+       uses hash tables that can be expand and shrink automatically.
+     X86/x86_64:
+       * Add support for AVX VNNI, HRESET, UINTR, TDX, AMX and Key
+         Locker instructions. 
+       * Support non-absolute segment values for lcall and ljmp.
+       * Add {disp16} pseudo prefix to x86 assembler.
+       * Configure with --enable-x86-used-note by default for Linux/x86.
+     ARM/AArch64:
+       * Add support for Cortex-A78, Cortex-A78AE and Cortex-X1,
+         Cortex-R82, Neoverse V1, and Neoverse N2 cores.
+       * Add support for ETMv4 (Embedded Trace Macrocell), ETE (Embedded
+         Trace Extension), TRBE (Trace Buffer Extension), CSRE (Call
+         Stack Recorder Extension) and BRBE (Branch Record Buffer
+         Extension) system registers.
+       * Add support for Armv8-R and Armv8.7-A ISA extensions.
+       * Add support for DSB memory nXS barrier, WFET and WFIT
+         instruction for Armv8.7.
+       * Add support for +csre feature for -march. Add CSR PDEC
+         instruction for CSRE feature in AArch64.
+       * Add support for +flagm feature for -march in Armv8.4 AArch64.
+       * Add support for +ls64 feature for -march in Armv8.7
+         AArch64. Add atomic 64-byte load/store instructions for this
+         feature. 
+       * Add support for +pauth (Pointer Authentication) feature for
+         -march in AArch64.
+    New features in the Linker:
+      * Add --error-handling-script=<NAME> command line option to allow
+        a helper script to be invoked when an undefined symbol or a
+        missing library is encountered.  This option can be suppressed
+        via the configure time switch: --enable-error-handling-script=no.
+      * Add -z x86-64-{baseline|v[234]} to the x86 ELF linker to mark
+        x86-64-{baseline|v[234]} ISA level as needed.
+      * Add -z unique-symbol to avoid duplicated local symbol names.
+      * The creation of PE format DLLs now defaults to using a more
+        secure set of DLL characteristics.
+      * The linker now deduplicates the types in .ctf sections.  The new 
+         command-line option --ctf-share-types describes how to do this:
+         its default value, share-unconflicted, produces the most compact
+         output.
+      * The linker now omits the "variable section" from .ctf sections
+        by default, saving space.  This is almost certainly what you
+        want unless you are working on a project that has its own
+        analogue of symbol tables that are not reflected in the ELF
+        symtabs.
+  New features in other binary tools:
+      * The ar tool's previously unused l modifier is now used for
+        specifying dependencies of a static library. The arguments of
+        this option (or --record-libdeps long form option) will be
+        stored verbatim in the __.LIBDEP member of the archive, which
+        the linker may read at link time.
+      * Readelf can now display the contents of LTO symbol table
+        sections when asked to do so via the --lto-syms command line
+        option.
+      * Readelf now accepts the -C command line option to enable the
+        demangling of symbol names.  In addition the --demangle=<style>,
+        --no-demangle, --recurse-limit and --no-recurse-limit options
+        are also now availale.
+- Includes fixes for these CVEs:
+  bnc#1179898 aka CVE-2020-16590 aka PR25821
+  bnc#1179899 aka CVE-2020-16591 aka PR25822
+  bnc#1179900 aka CVE-2020-16592 aka PR25823
+  bnc#1179901 aka CVE-2020-16593 aka PR25827
+  bnc#1179902 aka CVE-2020-16598 aka PR25840
+  bnc#1179903 aka CVE-2020-16599 aka PR25842
+  bnc#1180451 aka CVE-2020-35493 aka PR25307
+  bnc#1180454 aka CVE-2020-35496 aka PR25308
+  bnc#1180461 aka CVE-2020-35507 aka PR25308
+- Rebase the following patches:
+ * binutils-fix-relax.diff
+ * binutils-revert-nm-symversion.diff
+ * binutils-revert-plt32-in-branches.diff
+- Add missing dependency on bc (ld.gold testsuite uses it).
+- Use --enable-obsolete for cross builds as ia64 is deprecated now.
+- Add binutils-2.36-branch.diff.gz.
+
+-------------------------------------------------------------------
+Fri Dec  4 14:52:54 UTC 2020 - Michael Matz <m...@suse.com>
+
+- Add binutils-fix-relax.diff to fix linking relaxation problems
+  with old object files hitting some enterprise software. [bsc#1179341]
+
+-------------------------------------------------------------------
+Mon Nov 23 13:58:56 UTC 2020 - Michael Matz <m...@suse.com>
+
+- Update binutils-2.35-branch.diff.gz to commit 1c5243df:
+  * Fixes PR26520, aka [bsc#1179036], a problem in addr2line with
+    certain DWARF variable descriptions.
+  * Also fixes PR26711, PR26656, PR26655, PR26929, PR26808, PR25878,
+    PR26740, PR26778, PR26763, PR26685, PR26699, PR26902, PR26869,
+    PR26711 
+  * The above includes fixes for dwo files produced by modern dwp,
+    fixing several problems in the DWARF reader.
+
+-------------------------------------------------------------------
@@ -27,0 +151,2 @@
+- Amend binutils-revert-plt32-in-branches.diff to adjust also new
+  testcases.
cross-aarch64-binutils.changes: same change
cross-arm-binutils.changes: same change
cross-avr-binutils.changes: same change
cross-epiphany-binutils.changes: same change
cross-hppa-binutils.changes: same change
cross-hppa64-binutils.changes: same change
cross-i386-binutils.changes: same change
cross-ia64-binutils.changes: same change
cross-m68k-binutils.changes: same change
cross-mips-binutils.changes: same change
cross-ppc-binutils.changes: same change
cross-ppc64-binutils.changes: same change
cross-ppc64le-binutils.changes: same change
cross-riscv64-binutils.changes: same change
cross-rx-binutils.changes: same change
cross-s390-binutils.changes: same change
cross-s390x-binutils.changes: same change
cross-sparc-binutils.changes: same change
cross-sparc64-binutils.changes: same change
cross-spu-binutils.changes: same change
cross-x86_64-binutils.changes: same change
cross-xtensa-binutils.changes: same change

Old:
----
  binutils-2.35-branch.diff.gz
  binutils-2.35.1.tar.bz2
  binutils-2.35.1.tar.bz2.sig

New:
----
  binutils-2.36-branch.diff.gz
  binutils-2.36.tar.bz2
  binutils-2.36.tar.bz2.sig
  binutils-fix-relax.diff

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

Other differences:
------------------
++++++ binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.387514328 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.391514331 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 Name:           binutils
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -33,7 +34,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -49,6 +50,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -81,7 +83,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -98,6 +100,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -189,6 +192,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -275,7 +279,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -331,6 +336,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -503,6 +509,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-aarch64-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.415514353 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.419514356 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-aarch64-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    aarch64
 %define cross 1
 %define TARGET aarch64
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-arm-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.439514373 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.443514377 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-arm-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    %arm
 %define cross 1
 %define TARGET arm
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-avr-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.463514395 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.467514398 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-avr-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    avr
 %define cross 1
 %define TARGET avr
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-epiphany-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.495514423 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.495514423 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-epiphany-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    epiphany
 %define cross 1
 %define TARGET epiphany
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-hppa-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.519514445 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.523514448 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-hppa-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    hppa
 %define cross 1
 %define TARGET hppa
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-hppa64-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.555514476 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.559514480 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-hppa64-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    hppa64
 %define cross 1
 %define TARGET hppa64
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-i386-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.587514505 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.587514505 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-i386-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    %ix86
 %define cross 1
 %define TARGET i586
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-ia64-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.615514530 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.619514533 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-ia64-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    ia64
 %define cross 1
 %define TARGET ia64
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-m68k-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.643514554 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.643514554 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-m68k-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    m68k
 %define cross 1
 %define TARGET m68k
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-mips-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.667514575 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.671514579 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-mips-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    mips
 %define cross 1
 %define TARGET mips
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-ppc-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.699514603 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.703514607 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-ppc-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    ppc
 %define cross 1
 %define TARGET powerpc
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-ppc64-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.731514632 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.735514635 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-ppc64-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    ppc64
 %define cross 1
 %define TARGET powerpc64
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-ppc64le-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.763514660 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.767514664 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-ppc64le-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    ppc64le
 %define cross 1
 %define TARGET powerpc64le
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-riscv64-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.791514685 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.795514688 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-riscv64-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    riscv64
 %define cross 1
 %define TARGET riscv64
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-rx-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.823514713 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.827514717 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-rx-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    rx
 %define cross 1
 %define TARGET rx
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-s390-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.851514738 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.855514742 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-s390-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    s390
 %define cross 1
 %define TARGET s390
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-s390x-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.879514762 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.883514767 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-s390x-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    s390x
 %define cross 1
 %define TARGET s390x
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-sparc-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.915514795 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.923514802 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-sparc-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    sparc
 %define cross 1
 %define TARGET sparc
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-sparc64-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.947514823 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.951514827 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-sparc64-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    sparc64
 %define cross 1
 %define TARGET sparc64
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-spu-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:44.979514851 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:44.983514855 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-spu-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    spu
 %define cross 1
 %define TARGET spu
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-x86_64-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:45.015514883 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:45.019514887 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-x86_64-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    x86_64
 %define cross 1
 %define TARGET x86_64
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ cross-xtensa-binutils.spec ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:45.051514915 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:45.051514915 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cross-xtensa-binutils
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,6 +20,7 @@
 ExcludeArch:    xtensa
 %define cross 1
 %define TARGET xtensa
+BuildRequires:  bc
 BuildRequires:  bison
 BuildRequires:  dejagnu
 BuildRequires:  flex
@@ -36,7 +37,7 @@
 %else
 BuildRequires:  zlib-devel
 %endif
-Version:        2.35.1
+Version:        2.36
 Release:        0
 #
 # RUN_TESTS
@@ -52,6 +53,7 @@
 %else
 # XXX check again
 # XXX disabled because gold is seriously broken for now
+# Note that some gold tests fail due to gcc-PIE which leads PIE executables
 %define        make_check_handling     true
 %endif
 # let make check fail anyway if RUN_TESTS was requested
@@ -84,7 +86,7 @@
 Source1:        pre_checkin.sh
 Source2:        README.First-for.SUSE.packagers
 Source3:        baselibs.conf
-Patch1:         binutils-2.35-branch.diff.gz
+Patch1:         binutils-2.36-branch.diff.gz
 Patch3:         binutils-skip-rpaths.patch
 Patch4:         s390-biarch.diff
 Patch5:         x86-64-biarch.patch
@@ -101,6 +103,7 @@
 Patch38:        binutils-fix-invalid-op-errata.diff
 Patch39:        binutils-revert-nm-symversion.diff
 Patch40:        binutils-fix-abierrormsg.diff
+Patch41:        binutils-fix-relax.diff
 Patch100:       add-ulp-section.diff
 Patch90:        cross-avr-nesc-as.patch
 Patch92:        cross-avr-omit_section_dynsym.patch
@@ -192,6 +195,7 @@
 %patch38
 %patch39 -p1
 %patch40 -p1
+%patch41 -p1
 %patch100 -p1
 %if "%{TARGET}" == "avr"
 cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
@@ -278,7 +282,8 @@
 %if "%{TARGET}" != "mips"
        --enable-default-hash-style=both \
 %endif
-       --enable-shared
+       --enable-shared \
+       --enable-obsolete
 make %{?_smp_mflags} all-bfd TARGET-bfd=headers
 # force reconfiguring (???)
 rm bfd/Makefile
@@ -334,6 +339,7 @@
   --with-system-zlib \
   --disable-nls \
   --enable-new-dtags \
+       --enable-obsolete \
 %if %{suse_version} <= 1320
   --disable-x86-relax-relocations \
 %endif
@@ -506,6 +512,8 @@
 %{_prefix}/%{HOST}/bin/*
 %{_prefix}/%{HOST}/lib/ldscripts
 %{_libdir}/ldscripts
+%dir %{_libdir}/bfd-plugins
+%{_libdir}/bfd-plugins/libdep.so
 %{_bindir}/*
 %ghost %_sysconfdir/alternatives/ld
 %ifarch %gold_archs

++++++ binutils-2.35-branch.diff.gz -> binutils-2.36-branch.diff.gz ++++++
Binary files /work/SRC/openSUSE:Factory/binutils/binutils-2.35-branch.diff.gz 
and /work/SRC/openSUSE:Factory/.binutils.new.2378/binutils-2.36-branch.diff.gz 
differ

++++++ binutils-2.35.1.tar.bz2 -> binutils-2.36.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/binutils/binutils-2.35.1.tar.bz2 
/work/SRC/openSUSE:Factory/.binutils.new.2378/binutils-2.36.tar.bz2 differ: 
char 11, line 1

++++++ binutils-fix-relax.diff ++++++
Fix for bsc#1179341

the movload->movconst relaxation can be done only with REX
rewriting, and hence needs a GOTPCRELX relocation.  With old object
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,
 
       if (opcode == 0x8b)
        {
-         if (abs_symbol && local_ref && relocx)
+         if (abs_symbol && local_ref && relocx && rex)
            to_reloc_pc32 = FALSE;
 
          if (to_reloc_pc32)
++++++ binutils-revert-nm-symversion.diff ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:45.307515141 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:45.307515141 +0100
@@ -8,10 +8,10 @@
 ===================================================================
 --- binutils-2.35.orig/binutils/nm.c   2020-07-24 11:12:19.000000000 +0200
 +++ binutils-2.35/binutils/nm.c        2020-08-07 16:42:58.000000000 +0200
-@@ -411,7 +411,7 @@ print_symname (const char *form, struct
+@@ -418,7 +418,7 @@ print_symname (const char *form, struct 
extended_symbol_info *info,
+       name = alloc;
      }
  
-   printf (form, name);
 -  if (info != NULL && info->elfinfo)
 +  if (info != NULL && info->elfinfo && 0)
      {

++++++ binutils-revert-plt32-in-branches.diff ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:45.331515162 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:45.331515162 +0100
@@ -9,6 +9,7 @@
 
 The changes in nop-[345].d and pr22842b.S are followups to
 not break the testsuite because of this revert.
+As are the changes to x86-64-branch-2.d and x86-64-branch-3.d.
 
 commit bd7ab16b4537788ad53521c45469a1bdae84ad4a
 Author: H.J. Lu <hjl.to...@gmail.com>
@@ -79,7 +80,7 @@
        * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
 
 diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
-index 311fb28a..5f1f0ce5 100644
+index daae52b9537..5030cc6e121 100644
 --- a/bfd/elf64-x86-64.c
 +++ b/bfd/elf64-x86-64.c
 @@ -1834,6 +1834,24 @@ elf_x86_64_convert_load_reloc (bfd *abfd,
@@ -159,10 +160,10 @@
  
              if (fail)
 diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
-index ed514cf9..2fad4505 100644
+index 9a2dfc92281..885ee85b999 100644
 --- a/gas/config/tc-i386.c
 +++ b/gas/config/tc-i386.c
-@@ -8472,52 +8472,12 @@ output_branch (void)
+@@ -8605,52 +8605,12 @@ output_branch (void)
    frag_var (rs_machine_dependent, 5, i.reloc[0], subtype, sym, off, p);
  }
  
@@ -215,7 +216,7 @@
  
    if (i.tm.opcode_modifier.jump == JUMP_BYTE)
      {
-@@ -8585,17 +8545,8 @@ output_jump (void)
+@@ -8724,17 +8684,8 @@ output_jump (void)
        abort ();
      }
  
@@ -234,7 +235,7 @@
  
    /* All jumps handled here are signed, but don't use a signed limit
       check for 32 and 16 bit jumps as we want to allow wrap around at
-@@ -11889,10 +11840,6 @@ md_estimate_size_before_relax (fragS *fragP, segT 
segment)
+@@ -12085,10 +12036,6 @@ md_estimate_size_before_relax (fragS *fragP, segT 
segment)
        reloc_type = (enum bfd_reloc_code_real) fragP->fr_var;
        else if (size == 2)
        reloc_type = BFD_RELOC_16_PCREL;
@@ -246,7 +247,7 @@
        reloc_type = BFD_RELOC_32_PCREL;
  
 diff --git a/gas/testsuite/gas/i386/ilp32/reloc64.d 
b/gas/testsuite/gas/i386/ilp32/reloc64.d
-index 78ca3fd9..a9616797 100644
+index 78ca3fd9e38..a961679754a 100644
 --- a/gas/testsuite/gas/i386/ilp32/reloc64.d
 +++ b/gas/testsuite/gas/i386/ilp32/reloc64.d
 @@ -17,7 +17,7 @@ Disassembly of section \.text:
@@ -259,24 +260,24 @@
  .*[   ]+R_X86_64_GOT32[       ]+xtrn
  .*[   ]+R_X86_64_GOT32[       ]+xtrn
 diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 
b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
-index 5bfa2a46..46b0f809 100644
+index acf8c42ca97..57845fdc208 100644
 --- a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
 +++ b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
 @@ -20,9 +20,9 @@ Disassembly of section .text:
- [     ]*[a-f0-9]+:    66 ff 20                data16 jmpq \*\(%rax\)
- [     ]*[a-f0-9]+:    e8 00 00 00 00          callq  0x1f     1b: 
R_X86_64_PC32       \*ABS\*\+0x10003c
- [     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   0x24     20: 
R_X86_64_PC32       \*ABS\*\+0x10003c
--[     ]*[a-f0-9]+:    66 e8 00 00 00 00       data16 callq 0x2a       26: 
R_X86_64_PLT32      foo-0x4
--[     ]*[a-f0-9]+:    66 e9 00 00 00 00       data16 jmpq 0x30        2c: 
R_X86_64_PLT32      foo-0x4
--[     ]*[a-f0-9]+:    66 0f 82 00 00 00 00    data16 jb 0x37  33: 
R_X86_64_PLT32      foo-0x4
-+[     ]*[a-f0-9]+:    66 e8 00 00 00 00       data16 callq 0x2a       26: 
R_X86_64_PC32       foo-0x4
-+[     ]*[a-f0-9]+:    66 e9 00 00 00 00       data16 jmpq 0x30        2c: 
R_X86_64_PC32       foo-0x4
-+[     ]*[a-f0-9]+:    66 0f 82 00 00 00 00    data16 jb 0x37  33: 
R_X86_64_PC32       foo-0x4
- [     ]*[a-f0-9]+:    66 c3                   data16 retq *
- [     ]*[a-f0-9]+:    66 c2 08 00             data16 retq \$0x8
- [     ]*[a-f0-9]+:    ff d0                   callq  \*%rax
+ [     ]*[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
+ [     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    (0x)?24 <.*>     20: 
R_X86_64_PC32       \*ABS\*\+0x10003c
+-[     ]*[a-f0-9]+:    66 e8 00 00 00 00       data16 call (0x)?2a <.*>        
26: R_X86_64_PLT32      foo-0x4
+-[     ]*[a-f0-9]+:    66 e9 00 00 00 00       data16 jmp (0x)?30 <.*> 2c: 
R_X86_64_PLT32      foo-0x4
+-[     ]*[a-f0-9]+:    66 0f 82 00 00 00 00    data16 jb (0x)?37 <.*>  33: 
R_X86_64_PLT32      foo-0x4
++[     ]*[a-f0-9]+:    66 e8 00 00 00 00       data16 call (0x)?2a <.*>        
26: R_X86_64_PC32       foo-0x4
++[     ]*[a-f0-9]+:    66 e9 00 00 00 00       data16 jmp (0x)?30 <.*> 2c: 
R_X86_64_PC32       foo-0x4
++[     ]*[a-f0-9]+:    66 0f 82 00 00 00 00    data16 jb (0x)?37 <.*>  33: 
R_X86_64_PC32       foo-0x4
+ [     ]*[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]+ <.*>
 diff --git a/gas/testsuite/gas/i386/reloc64.d 
b/gas/testsuite/gas/i386/reloc64.d
-index 540a9b77..ea16c68d 100644
+index 540a9b77d35..ea16c68de4b 100644
 --- a/gas/testsuite/gas/i386/reloc64.d
 +++ b/gas/testsuite/gas/i386/reloc64.d
 @@ -20,7 +20,7 @@ Disassembly of section \.text:
@@ -288,121 +289,140 @@
  .*[   ]+R_X86_64_PC8[         ]+xtrn-0x0*1
  .*[   ]+R_X86_64_GOT64[       ]+xtrn
  .*[   ]+R_X86_64_GOT32[       ]+xtrn
+diff --git a/gas/testsuite/gas/i386/x86-64-branch-2.d 
b/gas/testsuite/gas/i386/x86-64-branch-2.d
+index fab75a6394c..e025de90b68 100644
+--- a/gas/testsuite/gas/i386/x86-64-branch-2.d
++++ b/gas/testsuite/gas/i386/x86-64-branch-2.d
+@@ -9,12 +9,12 @@ 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
+-[     ]*[a-f0-9]+:    66 48 e9 00 00 00 00    data16 rex\.W jmp b <bar>       
7: R_X86_64_PLT32       foo-0x4
++[     ]*[a-f0-9]+:    66 48 e9 00 00 00 00    data16 rex\.W jmp b <bar>       
7: R_X86_64_PC32        foo-0x4
+ 
+ 0+b <bar>:
+ [     ]*[a-f0-9]+:    89 c3                   mov    %eax,%ebx
+ [     ]*[a-f0-9]+:    66 e8 00 00             callw  11 <bar\+0x6>    f: 
R_X86_64_PC16        foo-0x2
+-[     ]*[a-f0-9]+:    66 48 e8 00 00 00 00    data16 rex\.W call 18 
<bar\+0xd>        14: R_X86_64_PLT32      foo-0x4
++[     ]*[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
+ #pass
 diff --git a/gas/testsuite/gas/i386/x86-64-jump.d 
b/gas/testsuite/gas/i386/x86-64-jump.d
-index 1a1521d2..b898d7d5 100644
+index 7d2c994ce26..58ad424badb 100644
 --- a/gas/testsuite/gas/i386/x86-64-jump.d
 +++ b/gas/testsuite/gas/i386/x86-64-jump.d
 @@ -9,7 +9,7 @@ Disassembly of section .text:
  
  0+ <.text>:
  [     ]*[a-f0-9]+:    eb fe                   jmp    (0x0|0 <.text>)
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   0x7      3: 
R_X86_64_PLT32       xxx-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   0x7      3: 
R_X86_64_PC32        xxx-0x4
- [     ]*[a-f0-9]+:    ff 24 25 00 00 00 00    jmpq   \*0x0    a: R_X86_64_32S 
xxx
- [     ]*[a-f0-9]+:    ff e7                   jmpq   \*%rdi
- [     ]*[a-f0-9]+:    ff 27                   jmpq   \*\(%rdi\)
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    0x7      3: 
R_X86_64_PLT32       xxx-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    0x7      3: 
R_X86_64_PC32        xxx-0x4
+ [     ]*[a-f0-9]+:    ff 24 25 00 00 00 00    jmp    \*0x0    a: R_X86_64_32S 
xxx
+ [     ]*[a-f0-9]+:    ff e7                   jmp    \*%rdi
+ [     ]*[a-f0-9]+:    ff 27                   jmp    \*\(%rdi\)
 @@ -18,7 +18,7 @@ Disassembly of section .text:
  [     ]*[a-f0-9]+:    ff 2c 25 00 00 00 00    ljmp   \*0x0    24: 
R_X86_64_32S        xxx
  [     ]*[a-f0-9]+:    66 ff 2c 25 00 00 00 00         ljmpw  \*0x0    2c: 
R_X86_64_32S        xxx
- [     ]*[a-f0-9]+:    e8 cb ff ff ff          callq  0x0
--[     ]*[a-f0-9]+:    e8 00 00 00 00          callq  0x3a     36: 
R_X86_64_PLT32      xxx-0x4
-+[     ]*[a-f0-9]+:    e8 00 00 00 00          callq  0x3a     36: 
R_X86_64_PC32       xxx-0x4
- [     ]*[a-f0-9]+:    ff 14 25 00 00 00 00    callq  \*0x0    3d: 
R_X86_64_32S        xxx
- [     ]*[a-f0-9]+:    ff d7                   callq  \*%rdi
- [     ]*[a-f0-9]+:    ff 17                   callq  \*\(%rdi\)
+ [     ]*[a-f0-9]+:    e8 cb ff ff ff          call   0x0
+-[     ]*[a-f0-9]+:    e8 00 00 00 00          call   0x3a     36: 
R_X86_64_PLT32      xxx-0x4
++[     ]*[a-f0-9]+:    e8 00 00 00 00          call   0x3a     36: 
R_X86_64_PC32       xxx-0x4
+ [     ]*[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\)
 diff --git a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d 
b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
-index 03e96752..9d2ec05b 100644
+index 795f3fdacc4..1d692e8f04d 100644
 --- a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
 +++ b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
 @@ -23,9 +23,9 @@ Disassembly of section .text:
- [     ]*[a-f0-9]+:    f2 e8 00 00 00 00       bnd callq 34 <foo2>
+ [     ]*[a-f0-9]+:    f2 e8 00 00 00 00       bnd call 34 <foo2>
  
  0+34 <foo2>:
--[     ]*[a-f0-9]+:    f2 e9 00 00 00 00       bnd jmpq 3a <foo2\+0x6> 36: 
R_X86_64_PLT32      foo-0x4
+-[     ]*[a-f0-9]+:    f2 e9 00 00 00 00       bnd jmp 3a <foo2\+0x6>  36: 
R_X86_64_PLT32      foo-0x4
 -[     ]*[a-f0-9]+:    f2 0f 82 00 00 00 00    bnd jb 41 <foo2\+0xd>   3d: 
R_X86_64_PLT32      foo-0x4
--[     ]*[a-f0-9]+:    f2 e8 00 00 00 00       bnd callq 47 <foo2\+0x13>       
43: R_X86_64_PLT32      foo-0x4
-+[     ]*[a-f0-9]+:    f2 e9 00 00 00 00       bnd jmpq 3a <foo2\+0x6> 36: 
R_X86_64_PC32       foo-0x4
+-[     ]*[a-f0-9]+:    f2 e8 00 00 00 00       bnd call 47 <foo2\+0x13>        
43: R_X86_64_PLT32      foo-0x4
++[     ]*[a-f0-9]+:    f2 e9 00 00 00 00       bnd jmp 3a <foo2\+0x6>  36: 
R_X86_64_PC32       foo-0x4
 +[     ]*[a-f0-9]+:    f2 0f 82 00 00 00 00    bnd jb 41 <foo2\+0xd>   3d: 
R_X86_64_PC32       foo-0x4
-+[     ]*[a-f0-9]+:    f2 e8 00 00 00 00       bnd callq 47 <foo2\+0x13>       
43: R_X86_64_PC32       foo-0x4
- [     ]*[a-f0-9]+:    f2 e9 00 00 00 00       bnd jmpq 4d <foo2\+0x19>        
49: R_X86_64_PLT32      foo-0x4
++[     ]*[a-f0-9]+:    f2 e8 00 00 00 00       bnd call 47 <foo2\+0x13>        
43: R_X86_64_PC32       foo-0x4
+ [     ]*[a-f0-9]+:    f2 e9 00 00 00 00       bnd jmp 4d <foo2\+0x19> 49: 
R_X86_64_PLT32      foo-0x4
  [     ]*[a-f0-9]+:    f2 0f 82 00 00 00 00    bnd jb 54 <foo2\+0x20>  50: 
R_X86_64_PLT32      foo-0x4
- [     ]*[a-f0-9]+:    f2 e8 00 00 00 00       bnd callq 5a <foo2\+0x26>       
56: R_X86_64_PLT32      foo-0x4
+ [     ]*[a-f0-9]+:    f2 e8 00 00 00 00       bnd call 5a <foo2\+0x26>        
56: R_X86_64_PLT32      foo-0x4
 diff --git a/gas/testsuite/gas/i386/x86-64-nop-3.d 
b/gas/testsuite/gas/i386/x86-64-nop-3.d
-index 8514c4d0..617033a8 100644
+index 1975481cc59..436487b5a99 100644
 --- a/gas/testsuite/gas/i386/x86-64-nop-3.d
 +++ b/gas/testsuite/gas/i386/x86-64-nop-3.d
 @@ -18,5 +18,5 @@ Disassembly of section .text:
  Disassembly of section .altinstr_replacement:
  
  0+ <.altinstr_replacement>:
-- +[a-f0-9]+:  e9 00 00 00 00          jmpq   5 <_start\+0x5>  1: 
R_X86_64_PLT32       foo-0x4
-+ +[a-f0-9]+:  e9 00 00 00 00          jmpq   5 <_start\+0x5>  1: 
R_X86_64_PC32        foo-0x4
+- +[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
 diff --git a/gas/testsuite/gas/i386/x86-64-nop-4.d 
b/gas/testsuite/gas/i386/x86-64-nop-4.d
-index 7b696624..8610fc43 100644
+index 2da858db994..e390628b335 100644
 --- a/gas/testsuite/gas/i386/x86-64-nop-4.d
 +++ b/gas/testsuite/gas/i386/x86-64-nop-4.d
 @@ -21,5 +21,5 @@ Disassembly of section .altinstr_replacement:
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
-- +[a-f0-9]+:  e9 00 00 00 00          jmpq   b <_start\+0xb>  7: 
R_X86_64_PLT32       foo-0x4
-+ +[a-f0-9]+:  e9 00 00 00 00          jmpq   b <_start\+0xb>  7: 
R_X86_64_PC32        foo-0x4
+- +[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
 diff --git a/gas/testsuite/gas/i386/x86-64-nop-5.d 
b/gas/testsuite/gas/i386/x86-64-nop-5.d
-index b0b7854f..333263bd 100644
+index d5c84c1edf8..69820d54de8 100644
 --- a/gas/testsuite/gas/i386/x86-64-nop-5.d
 +++ b/gas/testsuite/gas/i386/x86-64-nop-5.d
 @@ -24,5 +24,5 @@ Disassembly of section .altinstr_replacement:
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
   +[a-f0-9]+:  89 c0                   mov    %eax,%eax
-- +[a-f0-9]+:  e9 00 00 00 00          jmpq   d <_start\+0xd>  9: 
R_X86_64_PLT32       foo-0x4
-+ +[a-f0-9]+:  e9 00 00 00 00          jmpq   d <_start\+0xd>  9: 
R_X86_64_PC32        foo-0x4
+- +[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
 diff --git a/gas/testsuite/gas/i386/x86-64-relax-2.d 
b/gas/testsuite/gas/i386/x86-64-relax-2.d
-index 8f432dff..6c765188 100644
+index fba47c14850..0949ab23907 100644
 --- a/gas/testsuite/gas/i386/x86-64-relax-2.d
 +++ b/gas/testsuite/gas/i386/x86-64-relax-2.d
 @@ -11,12 +11,12 @@ Disassembly of section .text:
  0+ <foo>:
  [     ]*[a-f0-9]+:    eb 24                   jmp    26 <local>
  [     ]*[a-f0-9]+:    eb 1e                   jmp    22 <hidden_def>
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   9 <foo\+0x9>     5: 
R_X86_64_PLT32       global_def-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   9 <foo\+0x9>     5: 
R_X86_64_PC32        global_def-0x4
- [     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   e <foo\+0xe>     a: 
R_X86_64_PLT32       global_def-0x4
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   13 <foo\+0x13>   f: 
R_X86_64_PLT32       weak_def-0x4
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   18 <foo\+0x18>   14: 
R_X86_64_PLT32      weak_hidden_undef-0x4
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   1d <foo\+0x1d>   19: 
R_X86_64_PLT32      weak_hidden_def-0x4
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   22 <hidden_def>  1e: 
R_X86_64_PLT32      hidden_undef-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   13 <foo\+0x13>   f: 
R_X86_64_PC32        weak_def-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   18 <foo\+0x18>   14: 
R_X86_64_PC32       weak_hidden_undef-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   1d <foo\+0x1d>   19: 
R_X86_64_PC32       weak_hidden_def-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   22 <hidden_def>  1e: 
R_X86_64_PC32       hidden_undef-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    9 <foo\+0x9>     5: 
R_X86_64_PLT32       global_def-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    9 <foo\+0x9>     5: 
R_X86_64_PC32        global_def-0x4
+ [     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    e <foo\+0xe>     a: 
R_X86_64_PLT32       global_def-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    13 <foo\+0x13>   f: 
R_X86_64_PLT32       weak_def-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    18 <foo\+0x18>   14: 
R_X86_64_PLT32      weak_hidden_undef-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    1d <foo\+0x1d>   19: 
R_X86_64_PLT32      weak_hidden_def-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    22 <hidden_def>  1e: 
R_X86_64_PLT32      hidden_undef-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    13 <foo\+0x13>   f: 
R_X86_64_PC32        weak_def-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    18 <foo\+0x18>   14: 
R_X86_64_PC32       weak_hidden_undef-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    1d <foo\+0x1d>   19: 
R_X86_64_PC32       weak_hidden_def-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    22 <hidden_def>  1e: 
R_X86_64_PC32       hidden_undef-0x4
  
  0+22 <hidden_def>:
- [     ]*[a-f0-9]+:    c3                      retq   
+ [     ]*[a-f0-9]+:    c3                      ret *
 diff --git a/gas/testsuite/gas/i386/x86-64-relax-3.d 
b/gas/testsuite/gas/i386/x86-64-relax-3.d
-index bb605081..f1ffdb89 100644
+index 01df9ef340e..d16e6a55395 100644
 --- a/gas/testsuite/gas/i386/x86-64-relax-3.d
 +++ b/gas/testsuite/gas/i386/x86-64-relax-3.d
 @@ -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>
- [     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   b <foo\+0xb>     7: 
R_X86_64_PLT32       global_def-0x4
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   10 <foo\+0x10>   c: 
R_X86_64_PLT32       weak_def-0x4
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   15 <foo\+0x15>   11: 
R_X86_64_PLT32      weak_hidden_undef-0x4
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   1a <foo\+0x1a>   16: 
R_X86_64_PLT32      weak_hidden_def-0x4
--[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   1f <hidden_def>  1b: 
R_X86_64_PLT32      hidden_undef-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   10 <foo\+0x10>   c: 
R_X86_64_PC32        weak_def-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   15 <foo\+0x15>   11: 
R_X86_64_PC32       weak_hidden_undef-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   1a <foo\+0x1a>   16: 
R_X86_64_PC32       weak_hidden_def-0x4
-+[     ]*[a-f0-9]+:    e9 00 00 00 00          jmpq   1f <hidden_def>  1b: 
R_X86_64_PC32       hidden_undef-0x4
+ [     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    b <foo\+0xb>     7: 
R_X86_64_PLT32       global_def-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    10 <foo\+0x10>   c: 
R_X86_64_PLT32       weak_def-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    15 <foo\+0x15>   11: 
R_X86_64_PLT32      weak_hidden_undef-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    1a <foo\+0x1a>   16: 
R_X86_64_PLT32      weak_hidden_def-0x4
+-[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    1f <hidden_def>  1b: 
R_X86_64_PLT32      hidden_undef-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    10 <foo\+0x10>   c: 
R_X86_64_PC32        weak_def-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    15 <foo\+0x15>   11: 
R_X86_64_PC32       weak_hidden_undef-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    1a <foo\+0x1a>   16: 
R_X86_64_PC32       weak_hidden_def-0x4
++[     ]*[a-f0-9]+:    e9 00 00 00 00          jmp    1f <hidden_def>  1b: 
R_X86_64_PC32       hidden_undef-0x4
  
  0+1f <hidden_def>:
- [     ]*[a-f0-9]+:    c3                      retq   
+ [     ]*[a-f0-9]+:    c3                      ret *
 diff --git a/ld/testsuite/ld-x86-64/mpx1c.rd b/ld/testsuite/ld-x86-64/mpx1c.rd
-index d66524c8..d3b292cb 100644
+index d66524c8834..d3b292cbdc1 100644
 --- a/ld/testsuite/ld-x86-64/mpx1c.rd
 +++ b/ld/testsuite/ld-x86-64/mpx1c.rd
 @@ -1,3 +1,3 @@
@@ -412,7 +432,7 @@
  #...
 diff --git a/ld/testsuite/ld-x86-64/pr22791-1.err 
b/ld/testsuite/ld-x86-64/pr22791-1.err
 deleted file mode 100644
-index 8c556599..00000000
+index 8c5565992e7..00000000000
 --- a/ld/testsuite/ld-x86-64/pr22791-1.err
 +++ /dev/null
 @@ -1,2 +0,0 @@
@@ -420,7 +440,7 @@
 -#...
 diff --git a/ld/testsuite/ld-x86-64/pr22791-1a.c 
b/ld/testsuite/ld-x86-64/pr22791-1a.c
 deleted file mode 100644
-index cd0130ca..00000000
+index cd0130cacdf..00000000000
 --- a/ld/testsuite/ld-x86-64/pr22791-1a.c
 +++ /dev/null
 @@ -1,4 +0,0 @@
@@ -430,7 +450,7 @@
 -}
 diff --git a/ld/testsuite/ld-x86-64/pr22791-1b.s 
b/ld/testsuite/ld-x86-64/pr22791-1b.s
 deleted file mode 100644
-index 9751db49..00000000
+index 9751db49aa5..00000000000
 --- a/ld/testsuite/ld-x86-64/pr22791-1b.s
 +++ /dev/null
 @@ -1,6 +0,0 @@
@@ -442,7 +462,7 @@
 -      .size   main, .-main
 diff --git a/ld/testsuite/ld-x86-64/pr22791-2.rd 
b/ld/testsuite/ld-x86-64/pr22791-2.rd
 deleted file mode 100644
-index 70deb30d..00000000
+index 70deb30d84d..00000000000
 --- a/ld/testsuite/ld-x86-64/pr22791-2.rd
 +++ /dev/null
 @@ -1,6 +0,0 @@
@@ -454,7 +474,7 @@
 -#...
 diff --git a/ld/testsuite/ld-x86-64/pr22791-2a.s 
b/ld/testsuite/ld-x86-64/pr22791-2a.s
 deleted file mode 100644
-index 0a855024..00000000
+index 0a855024d74..00000000000
 --- a/ld/testsuite/ld-x86-64/pr22791-2a.s
 +++ /dev/null
 @@ -1,8 +0,0 @@
@@ -468,7 +488,7 @@
 -      .section        .note.GNU-stack,"",@progbits
 diff --git a/ld/testsuite/ld-x86-64/pr22791-2b.c 
b/ld/testsuite/ld-x86-64/pr22791-2b.c
 deleted file mode 100644
-index 79ef27c0..00000000
+index 79ef27c0857..00000000000
 --- a/ld/testsuite/ld-x86-64/pr22791-2b.c
 +++ /dev/null
 @@ -1,7 +0,0 @@
@@ -481,7 +501,7 @@
 -}
 diff --git a/ld/testsuite/ld-x86-64/pr22791-2c.s 
b/ld/testsuite/ld-x86-64/pr22791-2c.s
 deleted file mode 100644
-index 1460d1b8..00000000
+index 1460d1b8288..00000000000
 --- a/ld/testsuite/ld-x86-64/pr22791-2c.s
 +++ /dev/null
 @@ -1,12 +0,0 @@
@@ -498,7 +518,7 @@
 -      .size   main, .-main
 -      .section        .note.GNU-stack,"",@progbits
 diff --git a/ld/testsuite/ld-x86-64/pr22842b.S 
b/ld/testsuite/ld-x86-64/pr22842b.S
-index f0659cd9..b9dd8134 100644
+index f0659cd901e..b9dd81345b7 100644
 --- a/ld/testsuite/ld-x86-64/pr22842b.S
 +++ b/ld/testsuite/ld-x86-64/pr22842b.S
 @@ -7,7 +7,7 @@ main:
@@ -511,10 +531,10 @@
        popq    %rcx
        retq
 diff --git a/ld/testsuite/ld-x86-64/x86-64.exp 
b/ld/testsuite/ld-x86-64/x86-64.exp
-index d836f334..b8a7de1f 100644
+index 83fdaa7db65..a3bb1e9ebd6 100644
 --- a/ld/testsuite/ld-x86-64/x86-64.exp
 +++ b/ld/testsuite/ld-x86-64/x86-64.exp
-@@ -1214,44 +1214,6 @@ if { [isnative] && [check_compiler_available] } {
+@@ -1250,44 +1250,6 @@ if { [isnative] && [check_compiler_available] } {
             {readelf -lW pr22393-3b.rd}} \
            "pr22393-3-static" \
        ] \
@@ -559,7 +579,7 @@
        [list \
            "Build pr22842.so" \
            "-shared" \
-@@ -1700,15 +1662,6 @@ if { [isnative] && [check_compiler_available] } {
+@@ -1752,15 +1714,6 @@ if { [isnative] && [check_compiler_available] } {
            "pr22393-3-static" \
            "pass.out" \
        ] \


++++++ unit-at-a-time.patch ++++++
--- /var/tmp/diff_new_pack.r18CmN/_old  2021-02-23 20:17:45.495515307 +0100
+++ /var/tmp/diff_new_pack.r18CmN/_new  2021-02-23 20:17:45.495515307 +0100
@@ -6,10 +6,10 @@
      {A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
  }
  
--set cflags "-w -O -ffunction-sections -fdata-sections $NOSANTIZE_CFLAGS"
--set cxxflags "-fno-exceptions -fno-rtti $NOSANTIZE_CFLAGS"
-+set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time 
$NOSANTIZE_CFLAGS"
-+set cxxflags "-fno-exceptions -fno-rtti -fno-unit-at-a-time $NOSANTIZE_CFLAGS"
+-set cflags "-w -O -ffunction-sections -fdata-sections $NOSANITIZE_CFLAGS 
$NOLTO_CFLAGS"
+-set cxxflags "-fno-exceptions -fno-rtti $NOSANITIZE_CFLAGS $NOLTO_CFLAGS"
++set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time 
$NOSANITIZE_CFLAGS $NOLTO_CFLAGS"
++set cxxflags "-fno-exceptions -fno-rtti -fno-unit-at-a-time 
$NOSANITIZE_CFLAGS $NOLTO_CFLAGS"
  set ldflags "--gc-sections -Bstatic"
  
  if [istarget mips*-*] {

Reply via email to