Lines Matching full:relocs
61 /* The relocs to be output. */
62 struct internal_reloc *relocs;
111 /* A count of non TOC relative relocs which will need to be
197 /* Buffer large enough to hold external relocs of any input section. */
361 /* Get the size required to hold the dynamic relocs. */
392 /* Get the dynamic relocs. */
474 /* Most dynamic relocs have the same type. FIXME: This is only
629 /* Read internal relocs for an XCOFF csect. This is a wrapper around
631 relocs which may have been cached for the enclosing section. */
642 && coff_section_data (abfd, sec)->relocs == NULL
651 || coff_section_data (abfd, enclosing)->relocs == NULL)
663 && coff_section_data (abfd, enclosing)->relocs != NULL)
671 return coff_section_data (abfd, enclosing)->relocs + off;
673 coff_section_data (abfd, enclosing)->relocs + off,
1139 /* Returns the index of reloc in RELOCS with the least address greater
1140 than or equal to ADDRESS. The relocs are sorted by address. */
1143 xcoff_find_reloc (struct internal_reloc *relocs,
1151 if (count == 1 && relocs[0].r_vaddr < address)
1166 raddr = relocs[this].r_vaddr;
1178 if (relocs[min].r_vaddr < address)
1182 && relocs[min - 1].r_vaddr == address)
1228 struct internal_reloc *relocs;
1292 relocs correctly. The relocs and the csects must both be in
1294 scanning along the relocs as we process the csects. We index
1302 /* Read in the relocs and line numbers for each section. */
1311 reloc_info[o->target_index].relocs =
1564 struct internal_reloc *relocs;
1572 relocs = reloc_info[enclosing->target_index].relocs;
1574 relindx = xcoff_find_reloc (relocs, amt, sym.n_value);
1575 rel = relocs + relindx;
1708 struct internal_reloc *relocs;
1713 relocs = reloc_info[enclosing->target_index].relocs;
1715 relindx = xcoff_find_reloc (relocs, amt, csect->vma);
1717 rel = relocs + relindx;
2076 /* Make sure that we have seen all the relocs. */
2097 rel = reloc_info[o->target_index].relocs;
2173 && coff_section_data (abfd, o)->relocs != NULL
2176 free (coff_section_data (abfd, o)->relocs);
2177 coff_section_data (abfd, o)->relocs = NULL;
2749 /* A function descriptor uses two relocs: one for the
2900 Because this function needs to look at the relocs, we also count
2901 the number of relocs which need to be copied into the .loader
2936 /* Look through the section relocs. */
2987 && coff_section_data (sec->owner, sec)->relocs != NULL
2990 free (coff_section_data (sec->owner, sec)->relocs);
2991 coff_section_data (sec->owner, sec)->relocs = NULL;
3173 section with relocs, but if we are creating the descriptor
3174 ourselves those relocs will not be visible to the mark code. */
3184 /* Count a reloc against a symbol. This is called for relocs
3553 Nothing fancy, symbols come after the header and relocs come
3601 /* We can't set up the symbol table or the relocs yet, because we
3605 xcoff_write_global_symbol. The .loader relocs are written out
3606 when the corresponding normal relocs are handled in
4803 /* Read in the relocs. */
4808 (flinfo->section_info[target_index].relocs
5008 /* Sort relocs by VMA. This is called via qsort. */
5331 relocs. */
5344 irel = flinfo->section_info[oindx].relocs + osec->reloc_count;
5443 for 64 bit will take 8 bytes. Similar for the relocs. This type
5485 irel = flinfo->section_info[oindx].relocs + osec->reloc_count;
5783 irel = (flinfo->section_info[output_section->target_index].relocs
6033 /* Allocate space for the pointers we need to keep for the relocs. */
6046 flinfo.section_info[i].relocs = NULL;
6052 /* Set the file positions for the relocs. */
6062 /* A stripped file has no relocs. However, we still
6083 Because of this problem, we also keep the relocs in
6089 flinfo.section_info[o->target_index].relocs = bfd_malloc (amt);
6095 if (flinfo.section_info[o->target_index].relocs == NULL
6104 /* We now know the size of the relocs, so we can determine the file
6260 symbol indices to use for relocs against them, and we can finally
6261 write out the relocs. */
6276 /* A stripped file has no relocs. */
6286 irel = flinfo.section_info[o->target_index].relocs;
6320 /* XCOFF requires that the relocs be sorted by address. We tend
6325 qsort ((void *) flinfo.section_info[o->target_index].relocs,
6329 irel = flinfo.section_info[o->target_index].relocs;
6354 if (flinfo.section_info[i].relocs != NULL)
6355 free (flinfo.section_info[i].relocs);
6442 if (flinfo.section_info[i].relocs != NULL)
6443 free (flinfo.section_info[i].relocs);