commit 0210487a98c3233c16fc4631defa6971e7e229e4 (HEAD -> gentoo/binutils-2.39, gentoo/gentoo/binutils-2.39)
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Aug 11 09:51:03 2022 +0930

    PR29466, APP/NO_APP with .linefile
    
    Commit 53f2b36a54b9 exposed a bug in sb_scrub_and_add_sb that could
    result in losing input.  If scrubbing results in expansion past the
    holding capacity of do_scrub_chars output buffer, then do_scrub_chars
    stashes the extra input for the next call.  That call never came
    because sb_scrub_and_add_sb wrongly decided it was done.  Fix that by
    allowing sb_scrub_and_add_sb to see whether there is pending input.
    Also allow a little extra space so that in most cases we won't need
    to resize the output buffer.
    
    sb_scrub_and_add_sb also limited output to the size of the input,
    rather than the actual output buffer size.  Fixing that resulted in a
    fail of gas/testsuite/macros/dot with an extra warning: "end of file
    not at end of a line; newline inserted".  OK, so the macro in dot.s
    really does finish without end-of-line.  Apparently the macro
    expansion code relied on do_scrub_chars returning early.  So fix that
    too by adding a newline if needed in macro_expand_body.
    
            PR 29466
            * app.c (do_scrub_pending): New function.
            * as.h: Declare it.
            * input-scrub.c (input_scrub_include_sb): Add extra space for
            two .linefile directives.
            * sb.c (sb_scrub_and_add_sb): Take into account pending input.
            Allow output to max.
            * macro.c (macro_expand_body): Add terminating newline.
            * testsuite/config/default.exp (SIZE, SIZEFLAGS): Define.
            * testsuite/gas/macros/app5.d,
            * testsuite/gas/macros/app5.s: New test.
            * testsuite/gas/macros/macros.exp: Run it.
    
    (cherry picked from commit 4d74aab7aa562fe79d4669cdad0c32610531cbc0)
    (cherry picked from commit 9e855cffa1fda44629e7f9b76dfa3e5a51a440e9)

 gas/app.c                           | 13 +++++++++++++
 gas/as.h                            |  1 +
 gas/input-scrub.c                   |  6 ++++--
 gas/macro.c                         |  2 ++
 gas/sb.c                            |  5 +++--
 gas/testsuite/config/default.exp    |  8 ++++++++
 gas/testsuite/gas/macros/app5.d     |  6 ++++++
 gas/testsuite/gas/macros/app5.s     |  5 +++++
 gas/testsuite/gas/macros/macros.exp |  1 +
 9 files changed, 43 insertions(+), 4 deletions(-)

commit 7874e235304c96e8d55675e84becd3aee60f0af8
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Aug 10 10:38:52 2022 +0930

    PR29462, internal error in relocate, at powerpc.cc:10796
    
    Prior to the inline plt call support (commit 08be322439), the only
    local syms with plt entries were local ifunc symbols.  There shouldn't
    be stubs for other local symbols so don't look for them.  The patch
    also fixes minor bugs in get_reference_flags; Many relocs are valid
    only for ppc64 and a couple only for ppc32.
    
            PR 29462
            * powerpc.cc (Target_powerpc::Relocate::relocate): Rename
            use_plt_offset to pltcal_to_direct, invert logic.  For relocs
            not used with inline plt sequences against local symbols, only
            look for stubs when the symbol is an ifunc.
            (Target_powerpc::Scan::get_reference_flags): Correct reloc
            handling for relocs not valid for both 32-bit and 64-bit.
    
    (cherry picked from commit 6158b25f77db11712b84e6a4609898f2615ac749)
    (cherry picked from commit e3b5d935247084dca057dea72be61b063fe2357a)

 gold/powerpc.cc | 129 ++++++++++++++++++++++++++++++++------------------------
 1 file changed, 75 insertions(+), 54 deletions(-)

commit 085131c73b69dd8e49434d1af966bd503a8f4bc8
Author: Jan Beulich <jbeulich@suse.com>
Date:   Wed Aug 10 10:34:22 2022 +0200

    gas/Dwarf: properly skip zero-size functions
    
    PR gas/29451
    
    While out_debug_abbrev() properly skips such functions, out_debug_info()
    mistakenly didn't. It needs to calculate the high_pc expression ahead of
    time, in order to skip emitting any data for the function if the value
    is zero.
    
    The one case which would still leave a zero-size entry is when
    symbol_get_obj(symp)->size ends up evaluating to zero. I hope we can
    expect that to not be the case, otherwise we'd need to have a way to
    post-process .debug_info contents between resolving expressions and
    actually writing the data out to the file. Even then it wouldn't be
    entirely obvious in which way to alter the data.
    
    (cherry picked from commit d7abcbcea5ddd40a3bf28758b62f35933c59f996)
    (cherry picked from commit e8cf73215187b0c08679d726a5cc7c019fa3ea2e)

 gas/dwarf2dbg.c | 39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)

commit a91e5ab475567df5d4c960352cae75a1095b42cf
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Aug 8 13:22:26 2022 +0200

    ld: fix NEWS typos
    
    ld/ChangeLog:
    
            * NEWS: Fix 2 typos.
    
    (cherry picked from commit 9284b63ea39cecbfc1522d9e143ecb7727d77eb5)

 ld/NEWS | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3476ee9a49d4d126d66b4ac0ac327239d523021e (tag: gentoo/binutils-2.39-3)
Author: WANG Xuerui <git@xen0n.name>
Date:   Wed Jul 27 19:07:57 2022 +0800

    opcodes: LoongArch: add "ret" instruction to reduce typing
    
    This syntactic sugar is present in both classical and emerging
    architectures, like Alpha, SPARC and RISC-V, and assembler macros
    doing the same thing can already be found in the wild e.g. [1], proving
    the feature's popularity. It's better to provide support directly in the
    assembler so downstream users wouldn't have to re-invent this over and
    over again.
    
    [1]: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/loongarch/sysdep.h;h=c586df819cd90;hb=HEAD#l28
    
    (cherry picked from commit 20f2e2686c79a5ac951f0cc283f385c16bda5d50)

 gas/testsuite/gas/loongarch/jmp_op.d   | 1 +
 gas/testsuite/gas/loongarch/jmp_op.s   | 1 +
 ld/testsuite/ld-loongarch-elf/jmp_op.d | 1 +
 ld/testsuite/ld-loongarch-elf/jmp_op.s | 1 +
 opcodes/loongarch-opc.c                | 1 +
 5 files changed, 5 insertions(+)

commit f57cdf9a3147d853e20ebc36b4a984da00eb2660
Author: WANG Xuerui <git@xen0n.name>
Date:   Wed Jul 27 19:07:56 2022 +0800

    opcodes: LoongArch: make all non-native jumps desugar to canonical b{lt/ge}[u] forms
    
    Also re-order the jump/branch opcodes while at it, so that insns are
    sorted in ascending order according to opcodes, and the label form
    preceding the real definition.
    
    (cherry picked from commit 3f6e97039ec6f476b6fe09768f4b89722ffef10f)

 gas/testsuite/gas/loongarch/jmp_op.d   |  6 ++---
 ld/testsuite/ld-loongarch-elf/jmp_op.d | 42 +++++++++++++++++-----------------
 opcodes/loongarch-opc.c                | 31 ++++++++++---------------
 3 files changed, 36 insertions(+), 43 deletions(-)

commit 7ce7f5695ddd842a209885600def6800c5284f40
Author: liuzhensong <liuzhensong@loongson.cn>
Date:   Mon Jul 25 10:22:27 2022 +0800

    LoongArch: Set defaults to exec stack 0.
    
    (cherry picked from commit 48ca1b26b99c8fd5bc21f5c69b6b666d9b6b9726)

 bfd/elfnn-loongarch.c       | 1 +
 ld/testsuite/ld-elf/elf.exp | 1 +
 2 files changed, 2 insertions(+)

commit 876fd2a74ef6c6a7d3729e2e2538026a4376bb42
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jul 26 11:33:51 2022 +0100

    Fix indentation in loongarch code, preventing a compile time warning.
    
    (cherry picked from commit 27121f6740fa2051609b2d781d77c4cd23aa590b)

 bfd/ChangeLog         |  5 +++++
 bfd/elfnn-loongarch.c | 22 ++++++++++------------
 2 files changed, 15 insertions(+), 12 deletions(-)

commit aa40e61dc266ebbb3b7f6305378cb50f38679463
Author: liuzhensong <liuzhensong@loongson.cn>
Date:   Mon Jul 11 11:02:44 2022 +0800

    LoongArch: Add testcases for new relocate types.
    
      gas/testsuite/gas/all/
        gas.exp
      gas/testsuite/gas/loongarch/
        jmp_op.d
        jmp_op.s
        macro_op.d
        macro_op.s
        macro_op_32.d
        macro_op_32.s
        macro_op_large_abs.d
        macro_op_large_abs.s
        macro_op_large_pc.d
        macro_op_large_pc.s
        reloc.d
        reloc.s
    
      ld/testsuite/ld-elf/
        pr26936.d
        shared.exp
      ld/testsuite/ld-loongarch-elf/
        attr-ifunc-4.c
        attr-ifunc-4.out
        disas-jirl.d
        ifunc.exp
        jmp_op.d
        jmp_op.s
        libnopic-global.s
        macro_op.d
        macro_op.s
        macro_op_32.d
        macro_op_32.s
        nopic-global-so.rd
        nopic-global-so.sd
        nopic-global.out
        nopic-global.s
        nopic-global.sd
        nopic-global.xd
        nopic-local.out
        nopic-local.rd
        nopic-local.s
        nopic-local.sd
        nopic-local.xd
        nopic-weak-global-so.rd
        nopic-weak-global-so.sd
        nopic-weak-global.out
        nopic-weak-global.s
        nopic-weak-global.sd
        nopic-weak-global.xd
        nopic-weak-local.out
        nopic-weak-local.rd
        nopic-weak-local.s
        nopic-weak-local.sd
        nopic-weak-local.xd
        pic.exp
        pic.ld
    
    (cherry picked from commit 2cb10f02b0e0d0d062c97c19defef1e5e334b13b)

 gas/testsuite/gas/all/gas.exp                      |   4 +-
 gas/testsuite/gas/loongarch/jmp_op.d               |  82 +-
 gas/testsuite/gas/loongarch/jmp_op.s               |  38 +-
 gas/testsuite/gas/loongarch/macro_op.d             | 778 ++----------------
 gas/testsuite/gas/loongarch/macro_op.s             |  44 +-
 gas/testsuite/gas/loongarch/macro_op_32.d          |  55 ++
 gas/testsuite/gas/loongarch/macro_op_32.s          |  16 +
 gas/testsuite/gas/loongarch/macro_op_large_abs.d   |  77 ++
 gas/testsuite/gas/loongarch/macro_op_large_abs.s   |   9 +
 gas/testsuite/gas/loongarch/macro_op_large_pc.d    |  77 ++
 gas/testsuite/gas/loongarch/macro_op_large_pc.s    |   9 +
 gas/testsuite/gas/loongarch/reloc.d                | 167 ++++
 gas/testsuite/gas/loongarch/reloc.s                | 144 ++++
 ld/testsuite/ld-elf/pr26936.d                      |   2 +-
 ld/testsuite/ld-elf/shared.exp                     |   6 +-
 ld/testsuite/ld-loongarch-elf/attr-ifunc-4.c       |  23 +
 ld/testsuite/ld-loongarch-elf/attr-ifunc-4.out     |   1 +
 ld/testsuite/ld-loongarch-elf/disas-jirl-32.d      |  18 +-
 ld/testsuite/ld-loongarch-elf/disas-jirl.d         |  19 +-
 ld/testsuite/ld-loongarch-elf/ifunc.exp            |  34 +
 ld/testsuite/ld-loongarch-elf/jmp_op.d             |  84 +-
 ld/testsuite/ld-loongarch-elf/jmp_op.s             |  42 +-
 ld/testsuite/ld-loongarch-elf/libnopic-global.s    | 113 +++
 ld/testsuite/ld-loongarch-elf/macro_op.d           | 883 ++++-----------------
 ld/testsuite/ld-loongarch-elf/macro_op.s           |  57 +-
 ld/testsuite/ld-loongarch-elf/macro_op_32.d        | 768 ++----------------
 ld/testsuite/ld-loongarch-elf/macro_op_32.s        |  43 +-
 ld/testsuite/ld-loongarch-elf/nopic-global-so.rd   |   5 +
 ld/testsuite/ld-loongarch-elf/nopic-global-so.sd   |  10 +
 ld/testsuite/ld-loongarch-elf/nopic-global.out     |   1 +
 ld/testsuite/ld-loongarch-elf/nopic-global.s       | 373 +++++++++
 ld/testsuite/ld-loongarch-elf/nopic-global.sd      |   5 +
 ld/testsuite/ld-loongarch-elf/nopic-global.xd      |   3 +
 ld/testsuite/ld-loongarch-elf/nopic-local.out      |   1 +
 ld/testsuite/ld-loongarch-elf/nopic-local.rd       |   0
 ld/testsuite/ld-loongarch-elf/nopic-local.s        | 383 +++++++++
 ld/testsuite/ld-loongarch-elf/nopic-local.sd       |   5 +
 ld/testsuite/ld-loongarch-elf/nopic-local.xd       |   3 +
 .../ld-loongarch-elf/nopic-weak-global-so.rd       |   5 +
 .../ld-loongarch-elf/nopic-weak-global-so.sd       |  10 +
 .../ld-loongarch-elf/nopic-weak-global.out         |   1 +
 ld/testsuite/ld-loongarch-elf/nopic-weak-global.s  | 374 +++++++++
 ld/testsuite/ld-loongarch-elf/nopic-weak-global.sd |   5 +
 ld/testsuite/ld-loongarch-elf/nopic-weak-global.xd |   3 +
 ld/testsuite/ld-loongarch-elf/nopic-weak-local.out |   1 +
 ld/testsuite/ld-loongarch-elf/nopic-weak-local.rd  |   0
 ld/testsuite/ld-loongarch-elf/nopic-weak-local.s   | 383 +++++++++
 ld/testsuite/ld-loongarch-elf/nopic-weak-local.sd  |   5 +
 ld/testsuite/ld-loongarch-elf/nopic-weak-local.xd  |   3 +
 ld/testsuite/ld-loongarch-elf/pic.exp              | 202 +++++
 ld/testsuite/ld-loongarch-elf/pic.ld               |  18 +
 51 files changed, 2949 insertions(+), 2443 deletions(-)

commit ff5a2f9d84b3689f4bca23a71a87170faa1c375d
Author: liuzhensong <liuzhensong@loongson.cn>
Date:   Wed Jul 20 19:55:27 2022 +0800

    bfd: Delete R_LARCH_NONE from dyn info of LoongArch.
    
      Some R_LARCH_64 in section .eh_frame will to generate
      R_LARCH_NONE, we change relocation to R_LARCH_32_PCREL
      from R_LARCH_64 in setction .eh_frame and not generate
      dynamic relocation for R_LARCH_32_PCREL.
    
      Add New relocate type R_LARCH_32_PCREL for .eh_frame.
    
      include/elf/
        loongarch.h
    
      bfd/
        bfd/bfd-in2.h
        libbfd.h
        reloc.c
        elfxx-loongarch.c
        elfnn-loongarch.c
    
      gas/config/
        tc-loongarch.c
    
      binutils/
        readelf.c
    
      ld/testsuite/ld-elf/
        eh5.d
    
    (cherry picked from commit 9801120721c3a702ce3bd50433ef920f92a83502)

 bfd/bfd-in2.h             |  1 +
 bfd/elfnn-loongarch.c     | 11 +++++++++++
 bfd/elfxx-loongarch.c     | 19 ++++++++++++++++++-
 bfd/libbfd.h              |  1 +
 bfd/reloc.c               |  3 +++
 binutils/readelf.c        |  2 ++
 include/elf/loongarch.h   |  5 ++++-
 ld/testsuite/ld-elf/eh5.d |  2 +-
 8 files changed, 41 insertions(+), 3 deletions(-)

commit f700a51b60cdf74f73e25b51e3c08516f0698b8d
Author: liuzhensong <liuzhensong@loongson.cn>
Date:   Fri Jul 15 16:07:48 2022 +0800

    LoongArch: Move ifunc info to rela.dyn from rela.plt.
    
      Delete R_LARCH_IRELATIVE from dynamic loader (glibc ld.so) when
      loading lazy function (rela.plt section).
    
      In dynamic programes, move ifunc dynamic relocate info to section
      srelgot from srelplt.
    
      bfd/
        elfnn-loongarch.c
    
    (cherry picked from commit bc2a35c0b48a93db21af2e7c429dc83828c672c8)

 bfd/elfnn-loongarch.c | 373 ++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 344 insertions(+), 29 deletions(-)

commit 5c3fd6b8310a8abcbe759af2f86f897111473f17
Author: liuzhensong <liuzhensong@loongson.cn>
Date:   Fri Jul 15 16:04:34 2022 +0800

    LoongArch: gas: Add new reloc types.
    
      Generate new relocate types while use new macro insns.
    
      gas/config/
        loongarch-lex.h
        loongarch-parse.y
        tc-loongarch.c
        tc-loongarch.h
    
    (cherry picked from commit f09482a8747b6fd4c2d59a6a64677d3a3fe1e092)

 gas/config/loongarch-lex.h   |   3 +
 gas/config/loongarch-parse.y |  72 ++++++----------------
 gas/config/tc-loongarch.c    | 140 +++++++++++++++++++++++++++++--------------
 gas/config/tc-loongarch.h    |   7 +--
 4 files changed, 120 insertions(+), 102 deletions(-)

commit cb01fe75e68abb308d8c753b4b0fed5a28cf839f
Author: liuzhensong <liuzhensong@loongson.cn>
Date:   Mon Jul 11 10:52:10 2022 +0800

    LoongArch:opcodes: Add new reloc types.
    
      opcodes: Replace old insns with news and generate new relocate types
      while macro insns expanding.
    
      opcodes/
        loongarch-opc.c
    
    (cherry picked from commit cbdbf445356c25521b606e30e5270f74e65011bc)

 opcodes/loongarch-opc.c | 412 ++++++++++++++++++++++++++++--------------------
 1 file changed, 242 insertions(+), 170 deletions(-)

commit 4b20400bfca671c3d115e4ce5e27c24da87826b2
Author: liuzhensong <liuzhensong@loongson.cn>
Date:   Mon Jul 11 15:11:03 2022 +0800

    bfd: Add supported for LoongArch new relocations.
    
      Define new reloc types according to linker needs.
    
      include/elf/
        loongarch.h
    
      bfd/
        bfd-in2.h
        libbfd.h
        reloc.c
        elfnn-loongarch.c
        elfxx-loongarch.c
        elfxx-loongarch.h
    
    (cherry picked from commit 6d13722a97cee3fd397e116bde3bcedbb1e220be)

 bfd/bfd-in2.h           |   36 ++
 bfd/elfnn-loongarch.c   | 1202 ++++++++++++++++++++++++++---------------
 bfd/elfxx-loongarch.c   | 1354 ++++++++++++++++++++++++++++++++++++-----------
 bfd/elfxx-loongarch.h   |    4 +
 bfd/libbfd.h            |   36 ++
 bfd/reloc.c             |   79 +++
 include/elf/loongarch.h |  136 +++++
 7 files changed, 2095 insertions(+), 752 deletions(-)

commit 82af4785071bfedf9ba35a694385a000dab113a5 (tag: gentoo/binutils-2.39-2)
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 6b16c2989b670673c61581ee97b98633bfaf0c5d
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    | 35 +++++++++++++++++++++++++++++++++--
 libctf/configure.ac | 10 ++++++++++
 4 files changed, 64 insertions(+), 4 deletions(-)

commit 1a7d7f2439957b6f3d7d55386f6219acdaff3f6b
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 719a1f8e5c946472805130fb0a89886e66b52404
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 0665545051ab8774296889a724b4e227cc00955c
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 1e57c8c5d594e927d2aaa4dda13f13b25decd289
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    | 20 ++++++++++++++++++--
 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, 150 insertions(+), 2 deletions(-)

commit 84110619ccc2bbb0ba5535f761cdea950b1db213
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Aug 5 14:02:43 2022 +0100

    reset development to true.  update version number
    
    Fixed to not touch files outside the release tarball- dilfridge

 bfd/configure                  |  20 +++---
 bfd/development.sh             |   2 +-
 bfd/po/bfd.pot                 | 156 ++++++++++++++++++++---------------------
 bfd/version.m4                 |   2 +-
 binutils/configure             |  20 +++---
 gas/configure                  |  20 +++---
 gprof/configure                |  20 +++---
 gprofng/configure              |  20 +++---
 gprofng/libcollector/configure |  20 +++---
 ld/configure                   |  20 +++---
 opcodes/configure              |  20 +++---
 opcodes/po/opcodes.pot         |   8 +--
 12 files changed, 164 insertions(+), 164 deletions(-)
