commit d1722d7b99981639407eeb5837b8faec8e2cb5bd (HEAD -> gentoo/binutils-2.42, gentoo/gentoo/binutils-2.42)
Author: Indu Bhagat <indu.bhagat@oracle.com>
Date:   Tue Jan 30 00:35:04 2024 -0800

    gas: scfi: add missing ginsn-cofi-1 testcase files
    
    Previous commit a58dc5427f0 intended to bring the following two commits
    from master branch:
    
     91cdbed4d7b gas: scfi: untraceable control flow should be a hard error
     16cbeae1b27 x86: testsuite: scfi: adjust COFI testcase
    
    But missed adding the testcase files. Fix the failure by adding the
    missing files.
    
    gas/testsuite/
            * gas/scfi/x86_64/ginsn-cofi-1.l: New test.
            * gas/scfi/x86_64/ginsn-cofi-1.s: Likewise.
    
    (cherry picked from commit 48942a586ebc056bd059d3f63a5eed3a2fa46ab3)

 gas/testsuite/gas/scfi/x86_64/ginsn-cofi-1.l | 38 ++++++++++++++++++++++++++++
 gas/testsuite/gas/scfi/x86_64/ginsn-cofi-1.s | 20 +++++++++++++++
 2 files changed, 58 insertions(+)

commit 059825c4d9f9024788801e98aedb64f8dfdf9cb3
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Jan 30 09:38:56 2024 +1030

    PR31314, chew crashing on use of uninitialized value
    
    The "drop" call in wrap_comment already increments pc.  Defining DOCDD
    in proto.str is a warning fix.
    
            PR 31314
            * chew.c (wrap_comment): Don't increment pc.
            * proto.str (DOCDD): Define.
    
    (cherry picked from commit e175a2fc60cb9709c4461cdd8596ae05e529d67b)
    (cherry picked from commit 6d329337f6701fe090602c6f8ca373250eb91b82)

 bfd/doc/chew.c    | 2 --
 bfd/doc/proto.str | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

commit b68b5b07b73c7ca07f551f90319669703ccbede3 (tag: gentoo/binutils-2.42-1)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Wed Feb 22 20:05:35 2023 +0100

    Apply a similar libiberty fix as in 7d53105d for libopcodes and libgprofng
    
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29042
    Bug: https://bugs.gentoo.org/834720
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 gprofng/src/Makefile.am | 3 ++-
 gprofng/src/Makefile.in | 3 ++-
 opcodes/configure       | 4 ++--
 opcodes/configure.ac    | 4 ++--
 4 files changed, 8 insertions(+), 6 deletions(-)

commit cd531449740893c9d08e7110e03144a08a03e57b
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Jul 31 01:18:18 2021 +0200

    Gentoo: XFAIL 15 broken ld.gold tests
    
    It seems like either the tests or ld.gold in general cannot handle
    compilers built with --enable-default-pie. No fix yet, so let's ignore
    these test failures for the moment. For details see the linked bugs.
    
    Bug: https://bugs.gentoo.org/684046
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22755
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=27303

 gold/testsuite/Makefile.am |  6 ++++++
 gold/testsuite/Makefile.in | 16 ++++++++++++----
 2 files changed, 18 insertions(+), 4 deletions(-)

commit bc95c4f7765898935936e889bc8062f5a5f7804b
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Jul 24 15:20:16 2021 +0200

    Gentoo: Give also libctf optionally a gentoo-specific soversion

 libctf/Makefile.am  | 14 +++++++++++++-
 libctf/Makefile.in  |  9 ++++++++-
 libctf/configure    | 31 +++++++++++++++++++++++++++++++
 libctf/configure.ac | 10 ++++++++++
 4 files changed, 62 insertions(+), 2 deletions(-)

commit 936328451bc6cc46a3077a9b4eece4033edd5eec
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Tue Jul 20 21:15:24 2021 +0200

    Gentoo: Pass --hash-style=sysv to ld in the testsuite

 binutils/testsuite/lib/binutils-common.exp |  2 +-
 ld/testsuite/lib/ld-lib.exp                | 16 ++++++++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

commit 5f188453033e79a95dc330c86d58b9aec004ed63
Author: Sergei Trofimovich <slyfox@gentoo.org>
Date:   Tue Jul 20 21:12:38 2021 +0200

    Gentoo: add --with-extra-soversion-suffix= option
    
    --with-extra-soversion-suffix= will allow Gentoo to
    distinct libbfd.so and libopcodes.so to have more precise
    SONAME.
    
    Today --enable-targets=all and --enable-64-bit-bfd change
    libbfd.so ABI:
    --enable-targets=all adds new symbols to the library
    --enable-64-bit-bfd modifies BFD_ARCH_SIZE default and
    changes sizes of integer parameters and fields to most
    APIs.
    
    --with-extra-soversion-suffix= will allow Gentoo to inject
    additional keys into SONAME to indicate ABI change and avoid
    hard to diagnose crashes when user reinstalls libbfd.so
    built with different flags (see https://bugs.gentoo.org/663690).
    
    Bug: https://bugs.gentoo.org/666100
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
    
    Ported to binutils 2.37 by Andreas K. Hüttel <dilfridge@gentoo.org>

 bfd/Makefile.am  |  5 +++++
 bfd/Makefile.in  |  4 ++++
 bfd/configure    | 13 +++++++++++++
 bfd/configure.ac |  7 +++++++
 4 files changed, 29 insertions(+)

commit 47a875bb7afc3673b8c9e14f57ede7867c6e7a04
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Jan 7 00:15:53 2005 -0500

    Gentoo: libiberty: install PIC version of libiberty.a
    
    This will install a PIC version of libiberty.a by overwriting the non-PIC
    version of libiberty.a while compiling.  We do this because there is no
    shared version of libiberty for random apps to link against which means if
    someone wants to use this in a shared library or PIE, they're out of luck.
    It's arguable whether people should be able to use this in a shared lib,
    but usage in PIE should be fine.  You could argue that this penalizes the
    non-PIE users, but the counter point is that people using this library in
    general are fairly low, and we'd rather have things work for all of them.
    
    (cherry picked from commit 112aff9ad3e2675556370c4281117a6df0a879d9)

 libiberty/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

commit 1f5ed3e896eb80e040028d5b81d84cd6ffc97721
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Jul 20 21:08:31 2021 +0200

    Gentoo: gold/ld: add support for poisoned system directories
    
    This is based on the old CodeSourcery patch written by Joseph Myers to add
    support to the link for detecting & rejecting bad -L paths when using a
    cross-compiler.  The differences here:
    * The command line flags are always available.
    * We can turn on & off the warning via the command line.
    * The configure option controls the default warning behavior.
    * Add support for gold.
    
    It is not currently upstream, nor has it been submitted at all.  There are
    no plans to do so currently either.
    
    BUG=chromium:488360
    TEST=`cbuildbot chromiumos-sdk` passes  # tests arm/amd64/mipsel/x86
    TEST=`cbuildbot panther_moblab-full whirlwind-release` pass
    TEST=`cbuildbot {x32,arm64}-generic-full` has no new failures
    TEST=x86_64-cros-linux-gnu-ld throws warnings when using -L/lib (gold & bfd)
    
    Reviewed-on: https://chromium-review.googlesource.com/272083
    (cherry picked from commit f92dbf35c00ab13cee36f6be8ae5ca46454d9000)
    
    Ported to binutils 2.37 by Andreas K. Hüttel <dilfridge@gentoo.org>
    Ported to binutils 2.39 by WANG Xuerui <xen0n@gentoo.org>

 gold/options.cc | 33 +++++++++++++++++++++++++++++++++
 gold/options.h  |  7 +++++++
 ld/config.in    |  3 +++
 ld/configure    | 16 ++++++++++++++++
 ld/configure.ac | 10 ++++++++++
 ld/ld.h         |  7 +++++++
 ld/ld.texi      | 18 ++++++++++++++++++
 ld/ldfile.c     | 20 ++++++++++++++++++++
 ld/ldlex.h      |  3 +++
 ld/ldmain.c     |  7 +++++++
 ld/lexsup.c     | 24 ++++++++++++++++++++++++
 11 files changed, 148 insertions(+)

commit 3f56050d62ee48df02cfba3304133e5caf79014d
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jan 29 16:01:42 2024 +0000

    Set version number to 2.42.0 and re-enable development

 bfd/configure                         | 20 ++++++++++----------
 bfd/development.sh                    |  2 +-
 bfd/po/bfd.pot                        |  2 +-
 bfd/version.m4                        |  2 +-
 binutils/README-how-to-make-a-release |  4 ++--
 binutils/configure                    | 20 ++++++++++----------
 gas/configure                         | 20 ++++++++++----------
 gprof/configure                       | 20 ++++++++++----------
 ld/configure                          | 20 ++++++++++----------
 opcodes/configure                     | 20 ++++++++++----------
 10 files changed, 65 insertions(+), 65 deletions(-)
