https://sourceware.org/bugzilla/show_bug.cgi?id=20216

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_27-branch branch has been updated by Cary Coutant
<ccout...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9b3777ae068e67e08b27914abbab11297f1f8d1b

commit 9b3777ae068e67e08b27914abbab11297f1f8d1b
Author: Cary Coutant <ccout...@gmail.com>
Date:   Wed Aug 10 10:57:42 2016 -0700

    Fix extraneous complaints about missing expected TLS relocation.

    With some versions of gas, the call to tls_get_addr uses a GOTPCREL
    relocation instead of a GOTPCRELX relocation. We should allow for that
    when skip_call_tls_get_addr_ is true. We should also build the test
    objects with the in-tree assembler.

    This patch also fixes some cascading error messages caused by not
    resetting the skip_call_tls_get_addr_ flag after printing the error.

    gold/
        PR gold/20216
        * x86_64.cc (Target_x86_64::Relocate::relocate): Add check for
        R_X86_64_GOTPCREL. Reset skip_call_tls_get_addr_ after printing
        error message.
        * testsuite/Makefile.am (pr20216_gd.o): Add -Bgcctestdir/.
        (pr20216_ld.o): Likewise.
        * testsuite/Makefile.in: Regenerate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to