bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17935] -z text should provide more info


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/17935] -z text should provide more info
Date: Sat, 07 Feb 2015 13:31:39 +0000

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

--- 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 <address@hidden>:

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

commit 1952c5cd7d3d24b9647b396731bc4808a2d63d9c
Author: H.J. Lu <address@hidden>
Date:   Sat Feb 7 05:28:06 2015 -0800

    Issue relocation in RO section warning for -z text

    This patch changes linker to issue a warning for relocation in readonly
    section for -z text.

    bfd/

        PR ld/17935
        * elf32-i386.c (elf_i386_readonly_dynrelocs): Also issue a
        warning for relocation in readonly section for -z text.
        (elf_i386_size_dynamic_sections): Likewise.
        * elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
        (elf_x86_64_size_dynamic_sections): Likewise.

    ld/testsuite/

        PR ld/17935
        * ld-i386/i386.exp: Run pr17935-1 and pr17935-2.
        * ld-x86-64/x86-64.exp: Likewise.

        * ld-i386/pr17935-1.d: New file.
        * ld-i386/pr17935-1.s: Likewise.
        * ld-i386/pr17935-2.d: Likewise.
        * ld-i386/pr17935-2.s: Likewise.
        * ld-x86-64/pr17935-1.d: Likewise.
        * ld-x86-64/pr17935-1.s: Likewise.
        * ld-x86-64/pr17935-2.d: Likewise.
        * ld-x86-64/pr17935-2.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]