commit c1a56ccfb6ff36fd533628f8065c968ac6a5148a (HEAD -> gentoo/binutils-2.30)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Jan 27 21:59:21 2018 +0100

    Gentoo: Disable gold test suite since it still always fails
    
    See https://sourceware.org/bugzilla/show_bug.cgi?id=22755
    Needs review for future ebuilds.

 Makefile.in | 1 -
 1 file changed, 1 deletion(-)

commit 2cd1123d062f33cf1f5aaae3ccd5c793ce04a70b
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Jan 27 21:37:21 2018 +0100

    Gentoo: Disable another test that checks for textrel warnings (which we sed out)

 ld/testsuite/ld-elf/shared.exp | 13 -------------
 1 file changed, 13 deletions(-)

commit 8e6a0f8f0fa5d65f465a3a721b7e9b33f647b0a0
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Jan 27 20:29:28 2018 +0100

    [no patch] Gentoo: 2.30 branch doesnt need the 0000 patch

 scripts/gentoo/make-tarball.sh | 1 -
 1 file changed, 1 deletion(-)

commit 1557287548d889db7ae66c3fca6464cf1fa49f19 (gentoo/gentoo/binutils-2.30, binutils-2_30-branch)
Author: Nick Clifton <nickc@redhat.com>
Date:   Sat Jan 27 15:46:38 2018 +0000

    Revert to development on the 2.30 branch.  Set the version number to 2.30.0.
    
    bfd     * version.m4 (BFD_VERSION): Set to 2.30.0
            * development.sh: Set to true.
            * configure: Regenerate.
            * po/bfd.pot: Regenerate.
    
    binutils* configure: Regenerate.
    gas     * configure: Regenerate.
    gprof   * configure: Regenerate.
    ld      * configure: Regenerate.
    opcodes * configure: Regenerate.
            * po/opcodes.pot: Regenerate.

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

commit f5ef2c33e00b226b9f012954f71379662ef73b87
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Oct 21 00:31:08 2017 +0200

    Gentoo: Disable failing test ld-x86-64/x86-64.exp pie1.d
    
    The reason why it fails is (surprise) a textrel warning, but in this case
    some other warning creeps in and it doesnt fit our regexp anymore.
    There's a limit how much I care. Example test log below.
    
    /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/../gas/as-new  --64  -o tmpdir/pie1.o
    /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/pie1.s
    Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/../gas/as-new  --64  -o tmpdir/pie1.o
    /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/tes
    tsuite/ld-x86-64/pie1.s 2>&1}  /dev/null ld.tmp (timeout = 300)
    spawn [open ...]
    ./ld-new --hash-style=sysv -z norelro  -L/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64  -pie -melf_x86_64 --noinhibit-exec -o tmpdir/dump
    tmpdir/pie1.o
    Executing on host: sh -c {./ld-new --hash-style=sysv -z norelro  -L/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64  -pie -melf_x86_64
    --noinhibit-exec -o t
    mpdir/dump tmpdir/pie1.o  2>&1}  /dev/null ld.tmp (timeout = 300)
    spawn [open ...]
    /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/.libs/ld-new: tmpdir/pie1.o: warning: relocation against `foo' in readonly section `.text'
    tmpdir/pie1.o: In function `_start':
    (.text+0x2): undefined reference to `foo'
    /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/.libs/ld-new: warning: creating a DT_TEXTREL in a shared object.
    succeeded with: </var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/.libs/ld-new: tmpdir/pie1.o: warning: relocation against `foo' in readonly section `.text'
    tmpdir/pie1.o: In function `_start':
    (.text+0x2): undefined reference to `foo'
    /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/.libs/ld-new: warning: creating a DT_TEXTREL in a shared object.>, expected: <\A[^\n]*\.o[^\n]*In function `_start':\n[^\n]*:
    undefined r
    eference to `foo'\Z>
    /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/.libs/ld-new: tmpdir/pie1.o: warning: relocation against `foo' in readonly section `.text'
    tmpdir/pie1.o: In function `_start':
    (.text+0x2): undefined reference to `foo'
    /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/.libs/ld-new: warning: creating a DT_TEXTREL in a shared object.
    FAIL: PIE with undefined symbol
    
    (cherry picked from commit 5d486de8e190c238a9ad62d21935a12988c5f23f)

 ld/testsuite/ld-x86-64/x86-64.exp | 1 -
 1 file changed, 1 deletion(-)

commit 84a3f5b885c1b9217e61022b8494358f419aa184
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sat Oct 21 00:26:47 2017 +0200

    Gentoo: We can't test for textrel warnings if we regsub out the warnings.
    
    Disable that one test.
    
    (cherry picked from commit 7cab1e4b23c2328c9594248aae654d0e71af6138)

 ld/testsuite/ld-i386/i386.exp | 1 -
 1 file changed, 1 deletion(-)

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

    Gentoo: Adapt the test suite to our changed --hash-style default

 ld/testsuite/lib/ld-lib.exp | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

commit d3bed0053780201771412188649c6634ba7541e9
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Tue Oct 17 00:47:36 2017 +0200

    Gentoo: Adapt the testsuite to our enhanced textrel warnings
    
    (cherry picked from commit 49a82abdafe1ff96167c50822fd593b2a4690e29)

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

commit 9809971e42b76c4ca19151e4ca6f5786e366f00f
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                | 109 ++++++++++++++++++++++++++
 4 files changed, 184 insertions(+)

commit a818298ffe6bdbd81959c7d836d49c802cfb2f0f
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 a65f0ddc72f009e9e6f3b05df182508342ef0e99
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 9f6c5c4aad7cd6a2d063b9dc689e70ecbc43fefd
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 92ee48d85bd7750bfaa574507a86b0bbd24fa00f
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.texinfo   | 18 ++++++++++++++++++
 ld/ldfile.c     | 20 ++++++++++++++++++++
 ld/ldlex.h      |  3 +++
 ld/ldmain.c     |  7 +++++++
 ld/lexsup.c     | 24 ++++++++++++++++++++++++
 11 files changed, 146 insertions(+)

commit 1782a5667a3db16df5a02847fa35291f746f4c9b
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 +
 ld/testsuite/lib/ld-lib.exp | 4 ++++
 2 files changed, 5 insertions(+)
