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

--- Comment #3 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 <h...@sourceware.org>:

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

commit 712ec27916b5604d29d928dec060fd1ba0fd9edb
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Mon Jun 13 11:06:10 2016 -0700

    Add the GOT base for GOT32 relocs against IFUNC

    Add the GOT base for R_386_GOT32/R_386_GOT32X relocations against IFUNC
    symbols if there is no base register and disallow them for PIC.

    bfd/

        PR ld/20244
        * elf32-i386.c (elf_i386_relocate_section): Add the .got.plt
        section address for R_386_GOT32/R_386_GOT32X relocations against
        IFUNC symbols if there is no base register and return error for
        PIC.

    ld/

        PR ld/20244
        * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
        pr20244-2c and pr20244-2d.
        * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
        * testsuite/ld-i386/pr20244-2.s: New file.
        * testsuite/ld-i386/pr20244-2a.d: Likewise.
        * testsuite/ld-i386/pr20244-2b.d: Likewise.
        * testsuite/ld-i386/pr20244-2c.d: Likewise.
        * testsuite/ld-i386/pr20244-2d.d: Likewise.
        * testsuite/ld-i386/pr20244-3a.c: Likewise.
        * testsuite/ld-i386/pr20244-3b.S: Likewise.
        * testsuite/ld-i386/pr20244-3c.S: Likewise.
        * testsuite/ld-i386/pr20244-3d.S: Likewise.

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