This is the mail archive of the
mailing list for the GDB project.
Re: --gc-section leftovers workaround.
On Wed, Oct 28, 2009 at 1:20 PM, Pedro Alves <email@example.com> wrote:
> On Wednesday 28 October 2009 20:13:43, Paul Pluzhnikov wrote:
>> Since we've just sorted them, (FDE+1)->initial_location == 0 implies that
>> FDE->initial_location == 0 as well, doesn't it?
> Correct, but it may be FDE+1 that needs discarding, not FDE.
I think you mean "it may be that FDE+1 *also* needs discarding, not
Would you mind rephrasing comment to mention multiple inline and template
instances in addition to --gc-sections? Also, it's not just GNU linker;
gold also does the same (after fix for PR gold/10400 that is), and I think
every other ELF linker has to do so as well.