Lines Matching defs:section

46 /* Take a section header read from a coff file (in HOST byte order),
47 and make a BFD "section" out of it. This is used by ECOFF. */
61 /* Handle long section names as in PE. */
126 section must be ignored. */
194 /* Set the arch/mach *before* swapping in sections; section header swapping
294 /* Get the BFD section from a COFF symbol section number. */
387 relocs for section SEC in file ABFD. If CACHE is TRUE and
517 && q->symbol.section->owner != NULL)
520 section's linenumber count. */
525 asection * sec = q->symbol.section->output_section;
564 if (bfd_is_com_section (coff_symbol_ptr->symbol.section))
575 else if (bfd_is_und_section (coff_symbol_ptr->symbol.section))
580 /* FIXME: Do we need to handle the absolute section here? */
583 if (coff_symbol_ptr->symbol.section)
586 coff_symbol_ptr->symbol.section->output_section->target_index;
589 + coff_symbol_ptr->symbol.section->output_offset);
593 ? coff_symbol_ptr->symbol.section->output_section->lma
594 : coff_symbol_ptr->symbol.section->output_section->vma;
645 || (!bfd_is_und_section (symbol_ptr_ptr[i]->section)
646 && !bfd_is_com_section (symbol_ptr_ptr[i]->section)
654 && !bfd_is_und_section (symbol_ptr_ptr[i]->section)
655 && (bfd_is_com_section (symbol_ptr_ptr[i]->section)
665 && bfd_is_und_section (symbol_ptr_ptr[i]->section))
687 /* Modify the symbol values according to their section and
735 for the symbol's section. On output, the symbol's
736 section should be N_DEBUG. */
738 (coff_symbol_ptr->symbol.section->output_section->line_filepos
740 coff_symbol_ptr->symbol.section =
846 /* This name should be written into the .debug section. For
849 the .debug section has already been created, and that it
908 && bfd_is_abs_section (symbol->section))
911 else if (bfd_is_abs_section (symbol->section))
914 else if (bfd_is_und_section (symbol->section))
919 symbol->section->output_section->target_index;
980 if (bfd_is_und_section (symbol->section))
985 else if (bfd_is_com_section (symbol->section))
1002 symbol->section->output_section->target_index;
1004 + symbol->section->output_offset);
1006 native->u.syment.n_value += symbol->section->output_section->vma;
1046 if (lineno && !symbol->done_lineno && symbol->symbol.section->owner != NULL)
1056 symbol->symbol.section->output_section->moving_line_filepos;
1064 (symbol->symbol.section->output_section->vma
1065 + symbol->symbol.section->output_offset);
1070 if (! bfd_is_const_section (symbol->symbol.section->output_section))
1071 symbol->symbol.section->output_section->moving_line_filepos +=
1097 /* If this target supports long section names, they must be put into
1099 handle section names just as they are handled in
1160 /* Handle long section names. This code must handle section
1193 XCOFF, some symbol names are stored in the .debug section
1199 file name, nor does it go in the .debug section. */
1204 /* This symbol name is in the XCOFF .debug section.
1247 /* Make sure the .debug section was created to be the correct size.
1249 BFD won't let us write to any section until we know how large all
1279 /* Find all the linenumbers in this section. */
1283 if (p->section->output_section == s)
1346 /* Don't bother if this is a file or a section. */
1373 /* Allocate space for the ".debug" section, and read it.
1374 We did not read the debug section until now, because
1397 /* Seek to the beginning of the `.debug' section and read it.
1399 Then read debug section and reset the file pointer. */
1707 /* Long name in debug section. Very similar. */
1743 new->symbol.section = 0;
1770 new->symbol.section = bfd_abs_section_ptr;
1930 /* Probably a section symbol ? */
1985 fprintf_vma (file, l->u.offset + symbol->section->vma);
1994 symbol->section->name,
2014 /* Provided a BFD, a section and an offset (in bytes, not octets) into the
2015 section, calculate and return the name of the source file and the line
2020 asection *section,
2039 section to find the information. */
2040 if (! _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset,
2050 if (_bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
2086 sec_vma = bfd_get_section_vma (abfd, section);
2098 && (section
2130 /* Now wander though the raw linenumbers of the section. */
2131 /* If we have been called on this section before, and th. e offset we
2133 sec_data = coff_section_data (abfd, section);
2148 if (section->lineno != NULL)
2152 l = &section->lineno[i];
2154 for (; i < section->lineno_count; i++)
2199 if (i >= section->lineno_count
2209 if (sec_data == NULL && section->owner == abfd)
2212 section->used_by_bfd = bfd_zalloc (abfd, amt);
2213 sec_data = (struct coff_section_tdata *) section->used_by_bfd;
2286 if (bfd_is_und_section (symbol->section))
2291 else if (bfd_is_com_section (symbol->section))
2299 symbol->section->output_section->target_index;
2301 + symbol->section->output_offset);
2303 native->u.syment.n_value += symbol->section->output_section->vma;