FreeBSD/contrib/binutils/bfd/elflink.c
/* Given an ELF BFD, add symbols to the global hash table as
   appropriate.  */
Given an ELF BFD, add symbols to the global hash table as
appropriate.
Given an ELF BFD add symbols to the global hash table as appropriate .
bfd_boolean
bfd_elf_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
{
  switch (bfd_get_format (abfd))
    {
    case bfd_object:
      return elf_link_add_object_symbols (abfd, info);
    case bfd_archive:
      return elf_link_add_archive_symbols (abfd, info);
    default:
      bfd_set_error (bfd_error_wrong_format);
      return FALSE;
    }
}
bfd_boolean bfd_elf_link_add_symbols ( bfd * abfd , struct bfd_link_info * info ) { switch ( bfd_get_format ( abfd ) ) { case bfd_object : return elf_link_add_object_symbols ( abfd , info ) ; case bfd_archive : return elf_link_add_archive_symbols ( abfd , info ) ; default : bfd_set_error ( bfd_error_wrong_format ) ; return FALSE ; } }
Given an ELF BFD, add symbols to the global hash table as
appropriate.
Given an ELF BFD add symbols to the global hash table as appropriate .