commit 69ebdef7d579be102eb91f7eee49f29ad0dc5880 (HEAD -> gentoo/binutils-2.33.1, gentoo/gentoo/binutils-2.33.1)
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Sun Oct 13 05:45:43 2019 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:49:15 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.
    
    (cherry picked from commit 3ed91ee23d7ba05bffe6fb00bdaf5fa089643d77)

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

commit 80b71b7327c3e9b3199919072db63fd0c1e90141
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Wed Oct 11 21:56:53 2017 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:49:12 2019 +0200

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

 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 c74a68bbf6e65d44cf507985bcdb7880ad6977ca
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: Wed Sep 12 23:44:29 2018 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:49:09 2019 +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>
    (cherry picked from commit 8e11cd274874120e00034585d01337628c661705)

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

commit f8057df862ec647f228e2ad1fde05da079eb67c7
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: Thu Mar 1 12:35:03 2018 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:48:22 2019 +0200

    Gentoo: Restore TEXTREL warnings for non-shared objects, fix tests accordingly
    
    (cherry picked from commit 0c4fa652ef81b030beaaaa358c1a535006f0a52e)
    (cherry picked from commit 474f0cf721ac221f235a6f49df06eb5b81e65d0c)
    (cherry picked from commit 8dcb963e1da3b13ce9045ef520f2903fb2407d32)

 bfd/elflink.c                | 4 ++--
 ld/testsuite/ld-i386/warn1.d | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit ff48e34994ab26997399d96a25111f38666e23a2
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Sun Jun 3 21:40:36 2018 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:48:13 2019 +0200

    Gentoo: Pass --no-warn-shared-textrel to ld in its testsuite
    
    (cherry picked from commit 47c5a106fe455b935e159c8418178f4051f1dbbf)

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

commit ed95676568c2a8bdb02b99e7c8c7397ec9cbfa5d
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Wed Oct 18 00:44:49 2017 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:48:10 2019 +0200

    Gentoo: Pass --hash-style=sysv to ld in its testsuite
    
    (cherry picked from commit 584663d863b0532dd447b2f8554672ce4dd1438a)

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

commit cbf0d677fe09dca2396a05d7de2659804f4f5cfc
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: Tue Jul 5 20:24:00 2016 +0545
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:48:07 2019 +0200

    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)
    (cherry picked from commit 4c21c70c187a55cd8ce0992cda3687655d6d8df9)

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

commit b429624187af1dfa3f4e408ba4f39704be072c0c
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: Fri Jan 7 00:15:53 2005 -0500
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:48:04 2019 +0200

    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)
    (cherry picked from commit e9fa814339d59372129949ef87ddb525cffdd663)

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

commit 99d549d66357bbe3a1377f263f3968edd01acc7a
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: Tue Oct 10 22:53:53 2017 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:48:01 2019 +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)
    (cherry picked from commit bcf3dcf1c50ff2a9368cd74f377d4c0657324246)

 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 f4bf0a6b3581af5bb943b0e39951b77888048163
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Sun Jun 3 21:12:16 2018 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:47:58 2019 +0200

    Gentoo: Add an option --no-warn-shared-textrel (self-explanatory)
    
    (cherry picked from commit 10389166c08e84d708e7533d1f413e0aae51789a)

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

commit e745f6190923243ad1480cbc135e911b18b995e7
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: Mon May 16 22:10:19 2005 -0400
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sun Oct 13 05:47:50 2019 +0200

    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)
    (cherry picked from commit c7ba0482f06cc42f528139a01136c9dd15c8f403)

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

commit 04165950d1397154a784cd55da758d5c7a8d3457 (origin/binutils-2_33-branch, binutils-2_33-branch)
Author:     GDB Administrator <gdbadmin@sourceware.org>
AuthorDate: Sun Oct 13 00:02:23 2019 +0000
Commit:     GDB Admin <brobecker@adacore.com>
CommitDate: Sun Oct 13 00:02:23 2019 +0000

    Automatic date update in version.in

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