[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/14265] -gc-sections ignores KEEP annotations
From: |
nickc at redhat dot com |
Subject: |
[Bug gold/14265] -gc-sections ignores KEEP annotations |
Date: |
Thu, 09 Aug 2012 07:39:49 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14265
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> 2012-08-09 07:39:49
UTC ---
Hi Ian,
I have been looking at this PR, trying to find a way to solve it, but I am
hopelessly lost. So I am asking for some guidance...
It seems to me that gold parses the KEEP directives and stores them in
Output_section_element_input class, but then it just ignores them. Then when
Sized_relobj_file runs garbage collection there appears to be no way to connect
the Output_section pointer to the input sections that contributed to it. So I
guess my question is - when garbage collection occurs, how do I find out if a
particular input section should be KEPT ?
Cheers
Nick
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gold/14265] -gc-sections ignores KEEP annotations,
nickc at redhat dot com <=
- [Bug gold/14265] -gc-sections ignores KEEP annotations, ian at airs dot com, 2012/08/09
- [Bug gold/14265] -gc-sections ignores KEEP annotations, nickc at redhat dot com, 2012/08/10
- [Bug gold/14265] -gc-sections ignores KEEP annotations, nickc at redhat dot com, 2012/08/10
- [Bug gold/14265] -gc-sections ignores KEEP annotations, ian at airs dot com, 2012/08/10
- [Bug gold/14265] -gc-sections ignores KEEP annotations, cvs-commit at gcc dot gnu.org, 2012/08/14
- [Bug gold/14265] -gc-sections ignores KEEP annotations, nickc at redhat dot com, 2012/08/14
- [Bug gold/14265] -gc-sections ignores KEEP annotations, cvs-commit at gcc dot gnu.org, 2012/08/14