bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/19031] R_386_PC32 does not imply a call


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/19031] R_386_PC32 does not imply a call
Date: Thu, 01 Oct 2015 17:51:27 +0000

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

--- Comment #5 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=5db4f0d383e3de40e594cf05dd8f6d743233a487

commit 5db4f0d383e3de40e594cf05dd8f6d743233a487
Author: H.J. Lu <address@hidden>
Date:   Thu Oct 1 10:49:33 2015 -0700

    Create a PLT entry for R_X86_64_PC32 in non-code sections

    Since something like ".long foo - ." may be used as pointer, we make
    sure that PLT is used if foo is a function defined in a shared library.

    bfd/

        PR ld/19031
        * elf64-x86-64.c (elf_x86_64_check_relocs): Set
        pointer_equality_needed for R_X86_64_PC32 reloc in non-code
        sections.

    ld/testsuite/

        PR ld/19031
        * ld-x86-64/x86-64.exp: Run PR ld/19031 test.
        * ld-x86-64/pr19031.out: New file.
        * ld-x86-64/pr19031a.c: Likewise.
        * ld-x86-64/pr19031b.S: Likewise.
        * ld-x86-64/pr19031c.c: Likewise.

-- 
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]