This is the mail archive of the
mailing list for the GDB project.
Re: --gc-section leftovers workaround.
On Wed, Oct 28, 2009 at 12:35 PM, Pedro Alves <firstname.lastname@example.org> wrote:
>> The patch looks good to me.
> It wasn't unfortunately. ?:-( I had posted an early patch
> that got one thing wrong. ?It compared FDE->initial_location to
> (FDE+1)->initial_location, to check for overlap, and discarded
> FDE if so. ?But, this isn't correct since FDE may be the valid one
> we should keep, and (FDE+1)->initial_location could be 0!
Since we've just sorted them, (FDE+1)->initial_location == 0 implies that
FDE->initial_location == 0 as well, doesn't it?