bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20117] GOT relocation changes another instruction


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20117] GOT relocation changes another instruction
Date: Fri, 20 May 2016 16:44:14 +0000

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

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

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

commit c10d012d18caf2a39d7348a43eae7d8d5a940cdc
Author: H.J. Lu <address@hidden>
Date:   Fri May 20 09:41:50 2016 -0700

    Don't convert R_386_GOT32 relocation

    Don't convert R_386_GOT32 since we can't tell if it is applied
    to "mov address@hidden, %reg" which isn't a load via GOT.

    bfd/

        Backport from master
        * elf32-i386.c (elf_i386_check_relocs): Don't check R_386_GOT32
        when setting need_convert_load.

        PR ld/20117
        * elf32-i386.c (elf_i386_convert_load): Don't convert
        R_386_GOT32.

    ld/

        Backport from master
        PR ld/20117
        * testsuite/ld-i386/i386.exp: Run pr20117.
        * testsuite/ld-i386/pr20117.d: New file.
        * testsuite/ld-i386/pr20117.s: 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]