bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/11133] gc-sections deletes sections with __start/__stop re


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/11133] gc-sections deletes sections with __start/__stop reference
Date: Thu, 22 Oct 2015 23:53:32 +0000

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

--- Comment #15 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=1e7eae0dcc0e5473dda573b30107ffdd501b0d73

commit 1e7eae0dcc0e5473dda573b30107ffdd501b0d73
Author: Alan Modra <address@hidden>
Date:   Fri Oct 23 10:14:51 2015 +1030

    Re: Always keep sections marked with SEC_KEEP

    Revert bba037e0, it breaks the gc-sections model.  Instead fix the
    underlying problem which is that _bfd_elf_gc_mark_hook is too late to
    be setting SEC_KEEP.

        PR ld/11133
        PR ld/19161
        * elflink.c (elf_gc_sweep): Revert last patch.
        (_bfd_elf_gc_mark_hook): Don't set SEC_KEEP here.

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