FreeBSD/contrib/binutils/bfd/elflink.c
/* Return the dynindex of a local dynamic symbol.  */
Return the dynindex of a local dynamic symbol.
Return the dynindex of a local dynamic symbol .
long
_bfd_elf_link_lookup_local_dynindx (struct bfd_link_info *info,
				    bfd *input_bfd,
				    long input_indx)
{
  struct elf_link_local_dynamic_entry *e;
  for (e = elf_hash_table (info)->dynlocal; e ; e = e->next)
    if (e->input_bfd == input_bfd && e->input_indx == input_indx)
      return e->dynindx;
  return -1;
}
long _bfd_elf_link_lookup_local_dynindx ( struct bfd_link_info * info , bfd * input_bfd , long input_indx ) { struct elf_link_local_dynamic_entry * e ; for ( e = elf_hash_table ( info ) -> dynlocal ; e ; e = e -> next ) if ( e -> input_bfd == input_bfd && e -> input_indx == input_indx ) return e -> dynindx ; return -1 ; }
Return the dynindex of a local dynamic symbol.
Return the dynindex of a local dynamic symbol .