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

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.

We could even have FDE,FDE+1,FDE+2,FDE+3, where
FDE,FDE+1,FDE+2 all have initial_location == 0, and FDE+3 not.
We want to compare each of FDE,FDE+1,FDE+2 with FDE+3 for
overlap and discard those that do overlap,
not FDE with FDE+1 ; FDE+1 with FDE+2 ; FDE+2 with FDE+3.

-- 
Pedro Alves


  reply	other threads:[~2009-10-28 20:20 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 [this message]
2009-10-28 20:35         ` Paul Pluzhnikov
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=200910282020.48879.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ppluzhnikov@google.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