FreeBSD/contrib/binutils/bfd/elf.c
/* Get the name actually used for a dynamic object for a link.  This
   is the SONAME entry if there is one.  Otherwise, it is the string
   passed to bfd_elf_set_dt_needed_name, or it is the filename.  */
Get the name actually used for a dynamic object for a link.  This
is the SONAME entry if there is one.  Otherwise, it is the string
passed to bfd_elf_set_dt_needed_name, or it is the filename.
Get the name actually used for a dynamic object for a link . This is the SONAME entry if there is one . Otherwise it is the string passed to bfd_elf_set_dt_needed_name or it is the filename .
const char *
bfd_elf_get_dt_soname (bfd *abfd)
{
  if (bfd_get_flavour (abfd) == bfd_target_elf_flavour
      && bfd_get_format (abfd) == bfd_object)
    return elf_dt_name (abfd);
  return NULL;
}
const char * bfd_elf_get_dt_soname ( bfd * abfd ) { if ( bfd_get_flavour ( abfd ) == bfd_target_elf_flavour && bfd_get_format ( abfd ) == bfd_object ) return elf_dt_name ( abfd ) ; return NULL ; }
Get the name actually used for a dynamic object for a link.
Get the name actually used for a dynamic object for a link .