commit 4ef60dbc38a84e5311f094df6a2453a64ee45031 (HEAD -> gentoo/binutils-2.34, gentoo/gentoo/binutils-2.34)
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Fri Feb 28 00:02:45 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 81f4cd43fb87b85effb16a4660ccd636ea56c74a
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 19 13:10:47 2020 +1030

    Adjust PR25355 testcase
    
            * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
    
    (cherry picked from commit 2e3cd5d013cee36c5bc26c0468d471878300ed22)

 ld/ChangeLog                     | 6 ++++++
 ld/testsuite/ld-plugin/pr25355.d | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

commit 6200c4f27fe56aa1a9b1722003171cd0f3f1ae0e
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Feb 27 17:28:47 2020 +1030

    Re: PR24511, nm should not mark symbols in .init_array as "t"
    
            PR 24511
            * syms.c (bfd_decode_symclass): Reverse order of coff_section_type
            and decode_section_type calls.

 bfd/ChangeLog | 6 ++++++
 bfd/syms.c    | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

commit 6b42dfcfdfd9534802ac68ca268f3115844e5e87
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Wed Feb 26 00:01:17 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e463d55a635360aaaa5e3c05b85fc304ac769e69
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Feb 25 03:30:33 2020 -0800

    Don't call lto-wrapper for ar and ranlib
    
    Since ar and ranlib don't need to know symbol types to work properly,
    we should avoid calling lto-wrapper for them to speed them up.
    
    bfd/
    
            PR binutils/25584
            * plugin.c (need_lto_wrapper_p): New.
            (bfd_plugin_set_program_name): Add an int argument to set
            need_lto_wrapper_p.
            (get_lto_wrapper): Return FALSE if need_lto_wrapper_p isn't
            set.
            * plugin.h (bfd_plugin_set_program_name): Add an int argument.
    
    binutils/
    
            PR binutils/25584
            * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
            * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
    
    (cherry picked from commit ecda90163e2b0a6f0be96e3fc262c28820a27211)

 bfd/ChangeLog      | 10 ++++++++++
 bfd/plugin.c       | 22 ++++++++++++++--------
 bfd/plugin.h       |  2 +-
 binutils/ChangeLog |  6 ++++++
 binutils/ar.c      |  2 +-
 binutils/nm.c      |  2 +-
 6 files changed, 33 insertions(+), 11 deletions(-)

commit 6ac602a1a6b0fa12d08b15c9f107ed64b99f5e26
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Sun Feb 23 00:02:32 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a1ee354a376d2790ef4e7eadc9683910e0763598
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Feb 22 12:46:33 2020 +1030

    PR25585, PHDR segment not covered by LOAD segment
    
    I closed this bug as invalid, but I think it is worth mentioning in NEWS
    that older linkers didn't check PT_PHDR very well.  The patch also allows
    people to force an output file with --noinhibit-exec after the error.
    
    bfd/
            PR 25585
            * elf.c (assign_file_positions_for_load_sections): Continue linking
            on "PHDR segment not covered by LOAD segment" errors.
    ld/
            PR 25585
            * NEWS: Mention better "PHDR segment not covered by LOAD segment"
            checking.
    
    (cherry picked from commit 7b3c27152b5695177a2cd5adc0d7b0255f99aca0)

 bfd/ChangeLog | 6 ++++++
 bfd/elf.c     | 6 +++++-
 ld/ChangeLog  | 6 ++++++
 ld/NEWS       | 6 ++++++
 4 files changed, 23 insertions(+), 1 deletion(-)

commit fadc73335d670e669ed3630535cc8846d653eed6
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Thu Feb 20 00:01:35 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a80cbcf49ccc278d3cffde6b693e71392901fa2e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Feb 19 03:29:51 2020 -0800

    plugin: Call dlclose before return in try_load_plugin
    
    Since plugin can be used only once in try_load_plugin, call dlclose
    before return.
    
            PR binutils/25355
            * plugin.c (plugin_list_entry): Remove handle.
            (try_load_plugin): Call dlclose before return.
    
    (cherry picked from commit dcf06b89b9129da6988878a77afdd02d3acc2e30)

 bfd/ChangeLog |  6 ++++++
 bfd/plugin.c  | 39 ++++++++++++++++++---------------------
 2 files changed, 24 insertions(+), 21 deletions(-)

commit 64332275e00d7ba319bf580434522d2b37b9f743
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Mon Feb 17 00:01:50 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 67ecce73970e7f33b5cfe21f6a753a4dd18caa04
Author: Nick Clifton <nickc@redhat.com>
Date:   Sun Feb 16 11:33:15 2020 +0000

    Import fixes for using the LTO plugin with nm.
    
      PR 25355
    
    bfd:
     2020-02-13  H.J. Lu  <hongjiu.lu@intel.com>
    
     * plugin.c (try_load_plugin): Make plugin_list_iter an argument
     and use it if it isn't NULL.  Remove has_plugin_p argument.  Add
     a build_list_p argument.  Don't search plugin_list.  Short circuit
     when building the plugin list.
     (has_plugin): Renamed to has_plugin_list.
     (bfd_plugin_set_plugin): Don't set has_plugin.
     (bfd_plugin_specified_p): Check plugin_list instead.
     (build_plugin_list): New function.
     (load_plugin): Call build_plugin_list and use plugin_list.
    
     2020-02-11  H.J. Lu  <hongjiu.lu@intel.com>
    
     PR binutils/25355
     * plugin.c (try_claim): Always clean up for LTO wrapper.
     (try_load_plugin): Treat each object as independent.  Create a
     copy for plugin name.
    
     2020-02-11  H.J. Lu  <hongjiu.lu@intel.com>
    
     * plugin.c (add_symbols): Clear plugin_data memory.
    
     2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
    
     PR binutils/25355
     * configure.ac (HAVE_EXECUTABLE_SUFFIX): New AC_DEFINE.
     (EXECUTABLE_SUFFIX): Likewise.
     * config.in: Regenerated.
     * configure: Likewise.
     * plugin.c (bfd_plugin_close_and_cleanup): Removed.
     (plugin_list_entry): Add all_symbols_read, cleanup_handler,
     gcc, lto_wrapper, resolution_file, resolution_option, gcc_env,
     real_bfd, real_nsyms, real_syms, lto_nsyms and lto_syms.
     (get_lto_wrapper): New.
     (setup_lto_wrapper_env): Likewise.
     (current_plugin): Likewise.
     (register_all_symbols_read): Likewise.
     (register_cleanup): Likewise.
     (get_symbols): Likewise.
     (add_input_file): Likewise.
     (bfd_plugin_close_and_cleanup): Likewise.
     (claim_file): Removed.
     (register_claim_file): Set current_plugin->claim_file.
     (add_symbols): Make a copy of LTO symbols.  Set lto_nsyms and
     lto_syms in current_plugin.
     (try_claim): Use current_plugin->claim_file.  Call LTO plugin
     all_symbols_read handler.  Copy real symbols to plugin_data.
     Call LTO plugin cleanup handler.  Clean up for LTO wrapper.
     (try_load_plugin): Don't reuse the previous plugin for LTO
     wrapper.  Set up GCC LTO wrapper if possible.  Don't set
     plugin_list_iter->claim_file.
     (bfd_plugin_canonicalize_symtab): Use real LTO symbols if
     possible.
     * plugin.h (plugin_data_struct): Add real_bfd, real_nsyms and
     real_syms.
    
    ld:
     2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
    
     PR binutils/25355
     * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
     * testsuite/ld-plugin/pr25355.c: New file.
     * testsuite/ld-plugin/pr25355.d: Likewise.
     * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
     only dump.

 bfd/ChangeLog                    |  60 ++++
 bfd/config.in                    |   6 +
 bfd/configure                    |  10 +
 bfd/configure.ac                 |   6 +
 bfd/plugin.c                     | 598 ++++++++++++++++++++++++++++++++++-----
 bfd/plugin.h                     |   3 +
 ld/ChangeLog                     |  12 +
 ld/testsuite/ld-plugin/lto.exp   |   5 +
 ld/testsuite/ld-plugin/pr25355.c |   2 +
 ld/testsuite/ld-plugin/pr25355.d |   4 +
 ld/testsuite/lib/ld-lib.exp      |   1 +
 11 files changed, 634 insertions(+), 73 deletions(-)

commit 466b94ccbcd69d0e4e981b56b458b0b6ad76615e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Wed Feb 12 00:02:01 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 862af06c5f11df1630bfb3ace9496c0f24fdef29
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Feb 11 15:55:25 2020 +0000

    Import a fix from the mainline sources that prevents a potential illegal memory access when parsing PE binaries.
    
            PR 25447
            * coffgen.c (_bfd_coff_close_and_cleanup): Do not clear the keep
            syms and keep strings flags as these may have been set in order to
            prevent a bogus call to free.

 bfd/ChangeLog | 9 +++++++++
 bfd/coffgen.c | 6 ++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

commit d0e8cb9007d018436bc411d2c2b5e89ee494c534
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Feb 11 12:43:41 2020 +0000

    Fix building elf43-msp430.c on a 32-bit host.
    
            * elf32-msp430.c (msp430_final_link_relocate): Always use longs
            for addresses in print statements.
            (msp430_elf_relax_delete_bytes): Likewise.
            (msp430_elf_relax_add_words): Likewise.
            (msp430_elf_relax_section): Likewise.

 bfd/ChangeLog      | 10 ++++++++++
 bfd/elf32-msp430.c | 46 ++++++++++++++++++++++++++--------------------
 2 files changed, 36 insertions(+), 20 deletions(-)

commit 176a65459389fcd83fb1f0f1c932fcb3edb21f2f
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Tue Feb 11 00:01:58 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 33eee427e2337681693ed7c59bbc92e89a1b713a
Author: Jozef Lawrynowicz <jozef.l@mittosystems.com>
Date:   Mon Feb 10 20:37:57 2020 +0000

    MSP430: Enable relaxation of jump instructions to hard-coded pcrel offsets
    
    This patch fixes execution failures which occur when the BR in a
    sequence such as:
      J<cond> 1f
      BR
      1:
    is relaxed to a JMP, and the pc-relative offset for the destination of
    the J<cond> instruction is hard-coded to be 2 words ahead of the
    instruction.
    The hard-coded offset will cause execution to jump 1 word ahead of where
    it should actually go.
    
    Instead we now detect the hard-coded offset is one we inserted earlier,
    and invert the condition, allowing us to remove the BR entirely.
    
    bfd/ChangeLog:
    
    2020-02-10  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
    
            * elf32-msp430.c (msp430_elf_relax_section): Before relaxing a branch,
            check if previous instruction matches a conditional jump inserted
            earlier. Invert conditional jump and delete branch in this case.
    
    (cherry picked from commit ac4280dad035bb98fba999c174314435aefdf1a0)

 bfd/ChangeLog      |  6 +++++
 bfd/elf32-msp430.c | 70 +++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 65 insertions(+), 11 deletions(-)

commit d9cab7cdf4dbb72bc95f2e8df74abe3210e340d9
Author: Jozef Lawrynowicz <jozef.l@mittosystems.com>
Date:   Mon Feb 10 20:33:21 2020 +0000

    MSP430: Enable relaxation of relocs in JMP instructions
    
    This patch fixes relocation overflows caused by an inability to relax
    unconditional JMP instructions to BR instructions.
    
    bfd/ChangeLog:
    
    2020-02-10  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
    
            * elf32-msp430.c (msp430_elf_relax_add_two_words): Rename to
            msp430_elf_relax_add_words. Support insertion of either one or two
            words.
            (msp430_elf_relax_section): Catch opcode of 0x3c00 when relocation
            needs to be grown. Handle insertion of branch instruction to replace
            jump.
    
    (cherry picked from commit 8d6cb116f47b5edb2a7c2fa540fcb9dbcd3effc2)

 bfd/ChangeLog      |  8 +++++
 bfd/elf32-msp430.c | 96 +++++++++++++++++++++++++++++++++++++-----------------
 2 files changed, 74 insertions(+), 30 deletions(-)

commit 2eb6e57ec56554c9ada1594a081cc6e68a5a62f7
Author: Jozef Lawrynowicz <jozef.l@mittosystems.com>
Date:   Mon Feb 10 20:27:36 2020 +0000

    MSP430: Add printf statements to assist with debugging during relaxation
    
    bfd/ChangeLog:
    
    2020-02-10  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
    
            * elf32-msp430.c (msp430_final_link_relocate): Add printf statements for
            debugging relocations.
            (msp430_elf_relax_delete_bytes): Likewise.
            (msp430_elf_relax_add_two_words): Likewise.
            (msp430_elf_relax_section): Likewise.
    
    (cherry picked from commit d60f54486a99e6b702cccdb16b3429f3524021fd)

 bfd/ChangeLog      | 10 ++++++
 bfd/elf32-msp430.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 100 insertions(+), 5 deletions(-)

commit 22711d6d19abd038f24a29d569d51e05435c842f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Feb 10 08:37:22 2020 -0800

    x86: Accept Intel64 only instruction by default
    
    Commit d835a58baae720 disabled sysenter/sysenter in 64-bit mode by
    default.  By default, assembler should accept common, Intel64 only
    and AMD64 ISAs since there are no conflicts.
    
    gas/
    
            PR gas/25516
            * config/tc-i386.c (intel64): Renamed to ...
            (isa64): This.
            (match_template): Accept Intel64 only instruction by default.
            (i386_displacement): Updated.
            (md_parse_option): Updated.
            * c-i386.texi: Update -mamd64/-mintel64 documentation.
            * testsuite/gas/i386/i386.exp: Run x86-64-sysenter.  Pass
            -mamd64 to x86-64-sysenter-amd.
            * testsuite/gas/i386/x86-64-sysenter.d: New file.
    
    opcodes/
    
            PR gas/25516
            * i386-gen.c (opcode_modifiers): Replace AMD64 and Intel64
            with ISA64.
            * i386-opc.h (AMD64): Removed.
            (Intel64): Likewose.
            (AMD64): New.
            (INTEL64): Likewise.
            (INTEL64ONLY): Likewise.
            (i386_opcode_modifier): Replace amd64 and intel64 with isa64.
            * i386-opc.tbl (Amd64): New.
            (Intel64): Likewise.
            (Intel64Only): Likewise.
            Replace AMD64 with Amd64.  Update sysenter/sysenter with
            Cpu64 and Intel64Only.  Remove AMD64 from sysenter/sysenter.
            * i386-tbl.h: Regenerated.
    
    (cherry picked from commit 4b5aaf5f6992319c2c72e080a1a55842640b8732)

 gas/ChangeLog                            |   13 +
 gas/config/tc-i386.c                     |   40 +-
 gas/doc/c-i386.texi                      |    3 +-
 gas/testsuite/gas/i386/i386.exp          |    3 +-
 gas/testsuite/gas/i386/x86-64-sysenter.d |    5 +
 opcodes/ChangeLog                        |   18 +
 opcodes/i386-gen.c                       |    3 +-
 opcodes/i386-opc.h                       |   17 +-
 opcodes/i386-opc.tbl                     |   20 +-
 opcodes/i386-tbl.h                       | 7850 +++++++++++++++---------------
 10 files changed, 4019 insertions(+), 3953 deletions(-)

commit 1a46a016eb33316c0fc231e196acf174184195a6
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Fri Jan 31 08:03:56 2020 +0000

    aarch64: Fix MOVPRFX markup for bf16 conversions
    
    bfcvt converts a .S input to a .H output, so any predicated movprfx
    needs to operate on .S rather than .H.  In common with SVE2 narrowing
    top operations, bfcvtnt doesn't accept movprfx.
    
    2020-02-10  Richard Sandiford  <richard.sandiford@arm.com>
    
    opcodes/
            * aarch64-tbl.h (aarch64_opcode): Set C_MAX_ELEM for SVE bfcvt.
            Remove C_SCAN_MOVPRFX for SVE bfcvtnt.
    
    gas/
            * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
            .s for the movprfx.
            * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
            * testsuite/gas/aarch64/sve-movprfx_28.d,
            * testsuite/gas/aarch64/sve-movprfx_28.l,
            * testsuite/gas/aarch64/sve-movprfx_28.s: New test.

 gas/ChangeLog                                  |  9 ++++++
 gas/testsuite/gas/aarch64/sve-bfloat-movprfx.d |  2 +-
 gas/testsuite/gas/aarch64/sve-bfloat-movprfx.s |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_28.d     | 31 ++++++++++++++++++
 gas/testsuite/gas/aarch64/sve-movprfx_28.l     |  8 +++++
 gas/testsuite/gas/aarch64/sve-movprfx_28.s     | 45 ++++++++++++++++++++++++++
 opcodes/ChangeLog                              |  5 +++
 opcodes/aarch64-tbl.h                          |  4 +--
 8 files changed, 102 insertions(+), 4 deletions(-)

commit 6d866b9e6f440dc5521844c53199d0653ecf1f4e
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Fri Feb 7 00:02:24 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 12e6153bef32347c02fba51fc478c74b83d4e7e5
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 6 07:50:16 2020 -0800

    [2.34] Mention x86 assembler options to align branches
    
            * NEWS: Mention x86 assembler options to align branches for
            binutils 2.34.
    
    (cherry picked from commit 5eb617a71463fa6810cd14f57adfe7a1efc93a96)

 gas/ChangeLog | 5 +++++
 gas/NEWS      | 5 +++++
 2 files changed, 10 insertions(+)

commit 5989e60e181d39f80ceba34ec15e54fbd99f73ea
Author: GDB Administrator <gdbadmin@sourceware.org>
Date:   Sun Feb 2 00:01:50 2020 +0000

    Automatic date update in version.in

 bfd/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e3e4cde84adebec91953a113d657ccb573f859fe (tag: gentoo/binutils-2.34-1)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Oct 13 05:25:28 2019 +0200

    Gentoo: ld: enable new dtags by default for linux/gnu targets
    
    Original author: Mike Frysinger <vapier@gentoo.org>
    
    The "new" dtags options have been around for 14+ years now, so for Linux
    and GNU targets, enable them by default.
    
    2012-01-21  Mike Frysinger  <vapier@gentoo.org>
    
            * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
            link_info.new_dtags to TRUE for linux/gnu targets.
            * NEWS: Mention new dtags default.
    
    2013-01-22  Roland McGrath  <mcgrathr@google.com>
    
            * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
            new_dtags to TRUE for *-*-nacl* targets.

 ld/emultempl/elf.em | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 9b9a037b9287387e2267707767b5ee9fbafdd7e3
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Wed Oct 11 21:56:53 2017 +0200

    [no patch] Gentoo: Add patch tarball generation script
    
    (cherry picked from commit 90427abb2aac0cc4ebcb73397cc3ad574c6fec5d)

 scripts/gentoo/0000-Gentoo-Git-is-development |  12 +++
 scripts/gentoo/9999-Gentoo-We-make-a-release  |  12 +++
 scripts/gentoo/README.Gentoo.patches          |  31 +++++++
 scripts/gentoo/make-tarball.sh                | 118 ++++++++++++++++++++++++++
 4 files changed, 173 insertions(+)

commit 6eca574f16b9910b21ef8d2a9f9a54955dec5666
Author: Sergei Trofimovich <slyfox@gentoo.org>
Date:   Wed Sep 12 23:44:29 2018 +0100

    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>

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

commit 1fa26515d6d86ea385d1af1e4bb519c53066241d
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Mon Jul 16 12:20:37 2018 +0200

    Gentoo: Fix textrel warning format test

 ld/testsuite/ld-i386/warn1.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 978a1dc7ddbcf57f136266412834b8228c8aaaa3
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jun 3 22:36:40 2018 +0200

    Gentoo: Fix test for precise textrel warning message, after non-shared object change
    
    (Broken by "Gentoo: Restore TEXTREL warnings for non-shared objects")

 ld/testsuite/ld-i386/warn1.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2a0b8e2f38df0196f88c76e03e64bb6d43ce317c
Author: Sergei Trofimovich <slyfox@gentoo.org>
Date:   Thu Mar 1 12:35:03 2018 +0100

    Gentoo: Restore TEXTREL warnings for non-shared objects

 bfd/elflink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 4e5dde17a245dbb930fa0405f33af99cc3a5ef1f
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jun 3 21:40:36 2018 +0200

    Gentoo: Pass --no-warn-shared-textrel to ld in its testsuite

 ld/testsuite/lib/ld-lib.exp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 1222895ec55f34a97fb2cbcd80d421e24308f618
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Wed Oct 18 00:44:49 2017 +0200

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

 ld/testsuite/lib/ld-lib.exp | 769 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 767 insertions(+), 2 deletions(-)

commit 141a267d14bc4fdd619f6050093575c00619312c
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Jul 5 20:24:00 2016 +0545

    Gentoo: opcodes: link against libbfd.la for rpath deps
    
    The reason opcodes doesn't link against libbfd.la is to workaround a
    libtool bug where it uses installed -L paths ahead of DESTDIR paths.
    The downside is that the library itself lacks rpath tags to find the
    right version of libbfd.so.
    
    Since Gentoo has patched the libtool bug for a while, we don't need
    the workaround.  Use the .la file so we get the rpath tags.
    
    URL: https://bugs.gentoo.org/563934
    (cherry picked from commit 662586237b0b00ee881e79b56f6234ff36e8bfe6)

 opcodes/configure    | 2 +-
 opcodes/configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 53e83af1588ccbbfe3d565374524131b3d991282
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 1022f51d752d935f6c87327706800555e336fe88
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Oct 10 22:53:53 2017 +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)

 gold/options.cc | 33 +++++++++++++++++++++++++++++++++
 gold/options.h  |  7 +++++++
 ld/config.in    |  3 +++
 ld/configure    | 14 ++++++++++++++
 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, 146 insertions(+)

commit 8c32742613ab89d6cb0f582f02e1eddb533ea55d
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jun 3 21:12:16 2018 +0200

    Gentoo: Add an option --no-warn-shared-textrel (self-explanatory)

 ld/ld.texi  | 4 ++++
 ld/ldlex.h  | 1 +
 ld/lexsup.c | 6 ++++++
 3 files changed, 11 insertions(+)

commit 01345314ea0940cbc8b992272108372ac156daa5
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon May 16 22:10:19 2005 -0400

    Gentoo: ld: always warn about textrels in files
    
    textrels are bad for forcing copy-on-write (this affects everyone), and for
    security/runtime code generation, this affects security ppl.  But in either
    case, it doesn't matter who needs textrels, it's the very fact that they're
    needed at all.
    
    (cherry picked from commit cd6411ad57aab78686f67cbbc1ed70ee810ad335)

 ld/ldmain.c | 1 +
 1 file changed, 1 insertion(+)

commit 871ac467f59d9df1a911d29126d93a3014898e15
Author: Nick Clifton <nickc@redhat.com>
Date:   Sat Feb 1 13:02:47 2020 +0000

    Re-enable development.

 bfd/ChangeLog          |  9 +++++++++
 bfd/configure          | 20 ++++++++++----------
 bfd/development.sh     |  2 +-
 bfd/po/bfd.pot         |  2 +-
 bfd/version.m4         |  2 +-
 binutils/ChangeLog     |  5 +++++
 binutils/configure     | 20 ++++++++++----------
 gas/ChangeLog          |  5 +++++
 gas/configure          | 20 ++++++++++----------
 gprof/ChangeLog        |  5 +++++
 gprof/configure        | 20 ++++++++++----------
 ld/ChangeLog           |  5 +++++
 ld/configure           | 20 ++++++++++----------
 opcodes/ChangeLog      |  5 +++++
 opcodes/configure      | 20 ++++++++++----------
 opcodes/po/opcodes.pot |  2 +-
 16 files changed, 98 insertions(+), 64 deletions(-)
