Re: [patch] Speed up find_pc_section

Ulrich Weigand
2009-09-14T16:43:55Z

Paul Pluzhnikov wrote:

> I think this is ready to commit :-)
>
> Ulrich?

> 2009-09-13 Paul Pluzhnikov <ppluzhnikov@google.com>
>
> * objfiles.c (qsort_cmp): Remove asserts.
> (insert_section_p, filter_debuginfo_sections): New function.
> (filter_overlapping_sections): Likewise.
> (update_section_map): Adjust.

I've tested this together with the lookup_minimal_symbol_by_pc
patch on spu-elf, and it fixes all overlay-related bugs and
introduces no regressions, so it looks good to me as well.

Thanks for your work on addressing this problem!

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com