This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --gc-section leftovers workaround.


On Wed, Oct 28, 2009 at 1:20 PM, Pedro Alves <pedro@codesourcery.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
just FDE".

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.

Thanks,
-- 
Paul Pluzhnikov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]