|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/19161] GNU ld wrongly garbage collects section referenced via __start_SECTIONNAME |
Date: | Thu, 22 Oct 2015 23:53:32 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19161 --- Comment #6 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.
[Prev in Thread] | Current Thread | [Next in Thread] |