commit 08ead2ebda3c0276598b5bb9ab0443b12468d0ac (HEAD -> gentoo/binutils-2.31.1)
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 791cea065fb43cb8025ac2b3950297b01e7e661c (tag: gentoo/binutils-2.31.1-2, gentoo/gentoo/binutils-2.31.1)
Author: Cary Coutant <ccoutant@gmail.com>
Date:   Mon Aug 6 13:36:42 2018 -0700

    Fix type checking errors.
    
    gold/
            * target.h (Sized_target::record_gnu_property): Change first two
            parameters to unsigned int.
            * x86_64.cc (Target_x86_64::record_gnu_property): Likewise.
    
    Reported-by: David Carlos Manuelda
    Bug: https://bugs.gentoo.org/663194

 gold/target.h  | 3 ++-
 gold/x86_64.cc | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

commit b79b404bcd8f6de2e0846bd6939e9a7f77682555 (tag: gentoo/binutils-2.31.1-1)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Jun 3 22:36:40 2018 +0200

    Gentoo: Fix tests for textrel warning message
    
    (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 d7ac9877b2756d80a9eade88abd8e4683b32b5cf
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 d004b380fb7f436c2c4231416f231766ae1c3883
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 e940a998f319c6d208aa4d28e91efcdb33dd19d0
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 | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

commit 20800a4aaae2aa0612ac8d742f854017abf952c8
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 |  22 +++++
 scripts/gentoo/9999-Gentoo-We-make-a-release  |  22 +++++
 scripts/gentoo/README.Gentoo.patches          |  31 +++++++
 scripts/gentoo/make-tarball.sh                | 114 ++++++++++++++++++++++++++
 4 files changed, 189 insertions(+)

commit a25f18fccce9b160f627e3158c5505d948cc1c00
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 418ae52847fa822fbde0acffa704be5151cda98f
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 2f15f2677abf214ba7acc06a0fa1682f9898111d
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Jan 7 00:15:53 2005 -0500

    Gentoo: ld: enable new dtags by default for linux/gnu targets
    
    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 20ba81b7bbabfa6bf887067e355b4d281f78294e
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 9dec9a41490998f5093403bc31543edb96c926e0
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 3d96df87f90bcd30ad9261a50947dd250b2d10ae
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 be8a252e184c292909ae91a41f12141fc79a2d67
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Jul 18 09:05:35 2018 +0100

    Set the development flag back to true.
    
            * development.sh: Set to true.

 bfd/ChangeLog      | 6 +++++-
 bfd/development.sh | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
