FreeBSD/contrib/binutils/bfd/elf.c
/* Return TRUE if 2 section types are compatible.  */
Return TRUE if 2 section types are compatible.
Return TRUE if 2 section types are compatible .
bfd_boolean
_bfd_elf_match_sections_by_type (bfd *abfd, const asection *asec,
				 bfd *bbfd, const asection *bsec)
{
  if (asec == NULL
      || bsec == NULL
      || abfd->xvec->flavour != bfd_target_elf_flavour
      || bbfd->xvec->flavour != bfd_target_elf_flavour)
    return TRUE;
  return elf_section_type (asec) == elf_section_type (bsec);
}
bfd_boolean _bfd_elf_match_sections_by_type ( bfd * abfd , const asection * asec , bfd * bbfd , const asection * bsec ) { if ( asec == NULL || bsec == NULL || abfd -> xvec -> flavour != bfd_target_elf_flavour || bbfd -> xvec -> flavour != bfd_target_elf_flavour ) return TRUE ; return elf_section_type ( asec ) == elf_section_type ( bsec ) ; }
Return TRUE if 2 section types are compatible.
Return TRUE if 2 section types are compatible .