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 12:35 PM, Pedro Alves <pedro@codesourcery.com> 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?


-- 
Paul Pluzhnikov


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