• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/bfd/

Lines Matching defs:section

56 /* Information we keep for each section in the output file during the
88 /* Array of information kept for each output section, indexed by the
111 section. */
113 /* Buffer large enough to hold any input section. */
115 /* Buffer large enough to hold external relocs of any input section. */
128 /* Read the contents of a section. */
254 symbuf->symbol.section = bfd_abs_section_ptr;
256 symbuf->symbol.section = coff_section_from_bfd_index (abfd,
258 symbuf->symbol.value = ldsym.l_value - symbuf->symbol.section->vma;
494 relocs which may have been cached for the enclosing section. */
584 /* Read in the .loader section. FIXME: We should really use the
586 section by name. */
591 (_("%s: dynamic object with no .loader section"),
669 define it, since we don't have a section to put it in anyhow.
679 h->root.u.def.section = bfd_abs_section_ptr;
733 hds->root.u.def.section = bfd_abs_section_ptr;
795 /* We need to build a .loader section, so we do it here. This
811 /* Likewise for the linkage section. */
826 /* Likewise for the TOC section. */
841 /* Likewise for the descriptor section. */
856 /* Likewise for the .debug section. */
930 COFF sections--.text, .data, and .bss--but each COFF section will
933 considered a section in its own right. For example, a TOC entry is
936 extract the XMC_TC csects from the .data section of the input .o
1012 not easily determine which section a symbol is in, so we store
1022 order by VMA within a given section, so we handle this by
1024 into reloc_info using the section target_index. */
1031 /* Read in the relocs and line numbers for each section. */
1085 asection *section;
1132 rather than by section, in order to more easily handle
1154 (_("%B: `%s' has line numbers but no enclosing section"),
1221 section = NULL;
1251 section = bfd_und_section_ptr;
1254 section = bfd_abs_section_ptr;
1403 /* We need to create a new section. We get the name from
1411 /* The enclosing section is the main section : .data, .text
1423 (_("%B: csect `%s' not in enclosing section"),
1436 /* Record the enclosing section in the tdata for this new
1437 section. */
1481 /* There are a number of other fields and section flags
1494 beginning of the newly created section. */
1497 section = csect;
1501 /* If this is a TOC section for a symbol, record it. */
1522 section = xcoff_data (abfd)->csects[aux.x_csect.x_scnlen.l];
1523 if (section == NULL
1524 || (section->flags & SEC_HAS_CONTENTS) == 0)
1535 csect = section;
1558 /* The linker script puts the .td section in the data
1559 section after the .tc section. */
1572 /* There are a number of other fields and section flags
1596 section = csect;
1637 BFD_ASSERT (section != NULL);
1673 if (! bfd_is_und_section (section))
1687 && ! bfd_is_und_section (section)
1688 && ! bfd_is_com_section (section))
1694 || ((*sym_hash)->root.u.def.section->owner->flags
1703 section = bfd_und_section_ptr;
1706 else if (((*sym_hash)->root.u.def.section->owner->flags
1713 (*sym_hash)->root.u.def.section->owner;
1720 section = bfd_und_section_ptr;
1736 section = bfd_und_section_ptr;
1744 && (bfd_is_und_section (section)
1745 || bfd_is_com_section (section)))
1757 (*sym_hash)->root.u.def.section->owner,
1758 (*sym_hash)->root.u.def.section,
1779 (info, abfd, name, flags, section, value,
1788 || (*sym_hash)->root.u.c.p->section != csect)
1824 /* Reset the section size and the line number count, since the
1826 the .debug section, since we need to read it below in
2211 /* Mark a symbol as not being garbage, including the section in which
2226 hsec = h->root.u.def.section;
2245 /* The mark phase of garbage collection. For a given section, mark
2249 section. */
2267 /* Mark all the symbols in this section. */
2285 /* Look through the section relocs. */
2320 section. */
2504 && (! bfd_is_abs_section (h->root.u.def.section)
2508 (info, h->root.root.string, h->root.u.def.section->owner,
2509 h->root.u.def.section, h->root.u.def.value,
2515 h->root.u.def.section = bfd_abs_section_ptr;
2615 section with relocs, but if we are creating the descriptor
2701 the symbol in a common section but the XCOFF_DEF_REGULAR flag
2707 && (bfd_is_abs_section (h->root.u.def.section)
2708 || (h->root.u.def.section->owner->flags & DYNAMIC) == 0))
2737 && h->root.u.def.section->owner != NULL
2738 && h->root.u.def.section->owner->my_archive != NULL)
2742 arbfd = h->root.u.def.section->owner->my_archive;
2765 && (h->root.u.def.section->owner == NULL
2766 || (h->root.u.def.section->owner->xvec
2790 h->root.u.def.section = sec;
2853 h->root.u.def.section = sec;
2883 section. */
2887 && h->root.u.c.p->section->size == 0)
2889 BFD_ASSERT (bfd_is_com_section (h->root.u.c.p->section));
2890 h->root.u.c.p->section->size = h->root.u.c.size;
2893 /* We need to add a symbol to the .loader section if it is mentioned
2894 in a reloc which we are copying to the .loader section and it was
2951 /* Build the .loader section. This is called by the XCOFF linker
2953 .loader section before the linker lays out the output file.
2962 -bmodtype linker option). TEXTRO is whether the text section must
3053 ldsym->l_scnum = 2; /* Data section. */
3054 ldsym->l_smtype = XTY_SD; /* Csect section definition. */
3109 if (! xcoff_mark (info, hentry->root.u.def.section))
3154 /* Set up the .loader section header. */
3179 /* We now know the final size of the .loader section. Allocate
3253 of the .debug section. */
3288 /* Grab the contents of the .debug section. We use malloc and
3502 /* If this symbol is in the .loader section, swap out the
3557 impbfd = h->root.u.def.section->owner;
3589 h->root.u.def.section->output_section->target_index;
3637 output section, as it does in the default linker
3704 || (*sym_hash)->root.u.c.p->section != *csectpp)
3706 || (*sym_hash)->root.u.def.section != *csectpp))
3727 section; to get it right we would need a new bfd_strtab_hash
3769 name has already been entered in the .debug section. */
4256 /* Relocate the contents of each section. */
4262 /* This section was omitted from the link. */
4303 /* Call processor specific code to relocate the section
4470 section. */
4484 sec = h->root.u.c.p->section;
4486 sec = h->root.u.def.section;
4498 (_("%B: loader reloc in unrecognized section `%A'"),
4534 (_("%B: loader reloc in read-only section %A"),
4559 /* Write out the modified section contents. */
4625 /* If we need a .loader section entry, write it out. */
4648 sec = h->root.u.def.section;
4730 && (h->root.u.def.section
4737 p = h->root.u.def.section->contents + h->root.u.def.value;
4885 && (h->root.u.def.section
4912 sec = h->root.u.def.section;
4921 esec = hentry->root.u.def.section;
4943 (_("%s: loader reloc in unrecognized section `%s'"),
5005 (_("%s: loader reloc in unrecognized section `%s'"),
5061 BFD_ASSERT (bfd_is_abs_section (h->root.u.def.section));
5072 isym.n_value = (h->root.u.def.section->output_section->vma
5073 + h->root.u.def.section->output_offset
5075 if (bfd_is_abs_section (h->root.u.def.section->output_section))
5078 isym.n_scnum = h->root.u.def.section->output_section->target_index;
5098 isym.n_value = (h->root.u.c.p->section->output_section->vma
5099 + h->root.u.c.p->section->output_offset);
5100 isym.n_scnum = h->root.u.c.p->section->output_section->target_index;
5167 /* We need to somehow locate a symbol in the right section. The
5194 hsec = h->root.u.c.p->section;
5200 hsec = h->root.u.def.section;
5281 /* Now output the reloc to the .loader section. */
5300 (_("%s: loader reloc in unrecognized section `%s'"),
5398 sec = p->u.indirect.section;
5401 link. This will normally be every section. We need
5450 /* Insert .pad sections before every section which has
5452 section which has contents and is loaded. */
5467 /* Create a pad section and place it before the section
5469 relinking the bfd's section list. */
5482 /* Reset the section indices after inserting the new
5493 each section to land on a page boundary. This bit of
5577 written out all the local symbols. For each section in
5684 && p->u.indirect.section->owner->xvec == abfd->xvec)
5686 sub = p->u.indirect.section->owner;
5848 /* Free up the section information. */
5864 /* Write out the loader section contents. */