bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23850] GNU strip should not discard/move .rela.plt in exec


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/23850] GNU strip should not discard/move .rela.plt in executable linking glibc statically
Date: Fri, 02 Nov 2018 04:50:47 +0000

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

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

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

commit a4bcd733712abd892aa7fe0d79a3f999b461f119
Author: Alan Modra <address@hidden>
Date:   Fri Nov 2 11:47:07 2018 +1030

    PR23850, strip should not discard/move .rela.plt in executable

    strip/objcopy can't deal with alloc reloc sections, not .rela.dyn or
    .rela.plt in a dynamic executable, or .rela.plt/.rela.iplt in a static
    executable.  So, don't have BFD treat them as side-channel data
    associated with the section they are relocating.

        PR 23850
        * elf.c (bfd_section_from_shdr): Treat SHF_ALLOC SHT_REL* sections
        in an executable or shared library as normal sections.

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