[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
bfd_map_over_sections
void bfd_map_over_sections (bfd *abfd, void (*func) (bfd *abfd, asection *sect, void *obj), void *obj); |
func (abfd, the_section, obj); |
This is the preferred method for iterating over sections; an alternative would be to use a loop:
section *p; for (p = abfd->sections; p != NULL; p = p->next) func (abfd, p, ...) |