bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20800] BFD Linker failing (unresolvable R_X86_64_PLTOFF64) with


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20800] BFD Linker failing (unresolvable R_X86_64_PLTOFF64) with -mcmodel=large and --start-group
Date: Mon, 14 Nov 2016 18:18:50 +0000

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

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit 9d734efa1034d266249751978f95a686ec9d19c6
Author: H.J. Lu <address@hidden>
Date:   Mon Nov 14 10:13:03 2016 -0800

    Also check GOT PLT for R_X86_64_PLTOFF64

    Since "-z now" replaces PLT with GOT PLT, we should also check GOT PLT
    for R_X86_64_PLTOFF64 relocation.

    bfd/

        PR ld/20800
        * elf64-x86-64.c (elf_x86_64_relocate_section): Also check
        plt_got.offset for R_X86_64_PLTOFF64.

    ld/

        PR ld/20800
        * testsuite/ld-x86-64/pr20800a.S: New file.
        * testsuite/ld-x86-64/pr20800b.S: Likewise.
        * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]