bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17689] PIE copy relocations handling broken with ld.bfd


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/17689] PIE copy relocations handling broken with ld.bfd
Date: Sat, 16 May 2015 14:01:52 +0000

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

--- Comment #4 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=25070364b0ce33eed46aa5d78ebebbec6accec7e

commit 25070364b0ce33eed46aa5d78ebebbec6accec7e
Author: H.J. Lu <address@hidden>
Date:   Sat May 16 07:00:21 2015 -0700

    Don't generate PLT relocations for now binding

    There is no need for PLT relocations with -z now. We can use GOT
    relocations, which take less space, instead and replace 16-byte .plt
    entres with 8-byte .plt.got entries.

    bfd/

        * elf32-i386.c (elf_i386_check_relocs): Create .plt.got section
        for now binding.
        (elf_i386_allocate_dynrelocs): Use .plt.got section for now
        binding.
        * elf64-x86-64.c (elf_x86_64_check_relocs): Create .plt.got
        section for now binding.
        (elf_x86_64_allocate_dynrelocs): Use .plt.got section for now
        binding.

    ld/testsuite/

        * ld-i386/i386.exp: Run PR ld/17689 tests with -z now.
        * ld-x86-64/x86-64.exp: Likewise
        * ld-i386/pr17689now.rd: New file.
        * ld-x86-64/pr17689now.rd: 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]