FreeBSD/contrib/binutils/bfd/elf.c
/* Don't output section symbols for sections that are not going to be
   output.  Also, don't output section symbols for reloc and other
   special sections.  */
Don't output section symbols for sections that are not going to be
output.  Also, don't output section symbols for reloc and other
special sections.
Don ' t output section symbols for sections that are not going to be output . Also don ' t output section symbols for reloc and other special sections .
static bfd_boolean
ignore_section_sym (bfd *abfd, asymbol *sym)
{
  return ((sym->flags & BSF_SECTION_SYM) != 0
	  && (sym->value != 0
	      || (sym->section->owner != abfd
		  && (sym->section->output_section->owner != abfd
		      || sym->section->output_offset != 0))));
}
static bfd_boolean ignore_section_sym ( bfd * abfd , asymbol * sym ) { return ( ( sym -> flags & BSF_SECTION_SYM ) != 0 && ( sym -> value != 0 || ( sym -> section -> owner != abfd && ( sym -> section -> output_section -> owner != abfd || sym -> section -> output_offset != 0 ) ) ) ) ; }
Don't output section symbols for sections that are not going to be
output.
Don ' t output section symbols for sections that are not going to be output .