Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Paul Pluzhnikov <ppluzhnikov@google.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: --gc-section leftovers workaround.
Date: Wed, 28 Oct 2009 20:35:00 -0000	[thread overview]
Message-ID: <8ac60eac0910281335l959c202u3c137255abdb0a00@mail.gmail.com> (raw)
In-Reply-To: <200910282020.48879.pedro@codesourcery.com>

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


  reply	other threads:[~2009-10-28 20:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 18:50 Pedro Alves
2009-10-28 19:23 ` Paul Pluzhnikov
2009-10-28 19:35   ` Pedro Alves
2009-10-28 20:13     ` Paul Pluzhnikov
2009-10-28 20:20       ` Pedro Alves
2009-10-28 20:35         ` Paul Pluzhnikov [this message]
2009-10-28 20:55           ` Pedro Alves
2009-10-28 21:21             ` Paul Pluzhnikov
2009-10-28 19:29 ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ac60eac0910281335l959c202u3c137255abdb0a00@mail.gmail.com \
    --to=ppluzhnikov@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox