RFC: Short circuit bfd_map_over_sections

Ian Lance Taylor ian@wasabisystems.com
Fri Apr 30 01:33:00 GMT 2004


"H. J. Lu" <hjl@lucon.org> writes:

> That is fine. What should we call it? bfd_run_over_sections,
> bfd_call_over_sections, bfd_call_on_sections, ...

By analogy with C++, it should be bfd_sections_find_if, and it should
return the first section for which the function returns true.

bfd_for_each_section is another possibility.

Or bfd_traverse_sections.

Ian



More information about the Binutils mailing list