www.delorie.com/gnu/docs/binutils/bfd_48.html   search  
Buy GNU books!

Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ] bfd_get_section_by_name

asection *bfd_get_section_by_name(bfd *abfd, const char *name);
Run through abfd and return the one of the asections whose name matches name, otherwise NULL. See section 2.6 Sections, for more information.

This should only be used in special cases; the normal way to process all sections of a given name is to use bfd_map_over_sections and strcmp on the name (or better yet, base it on the section flags or something else) for each section.

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003