symindex bfd_get_next_mapent(bfd *abfd, symindex previous, carsym **sym);
Step through archive abfd's symbol table (if it
has one). Successively update sym with the next symbol's
information, returning that symbol's (internal) index into the
BFD_NO_MORE_SYMBOLS as the previous entry to get
the first one; returns
BFD_NO_MORE_SYMBOLS when you've already
got the last one.
carsym is a canonical archive symbol. The only
user-visible element is its name, a null-terminated string.