Lines Matching defs:asect
54 elf64_sparc_slurp_one_reloc_table (bfd *abfd, asection *asect,
76 relents = asect->relocation + canon_reloc_count (asect);
98 relent->address = rela.r_offset - asect->vma;
132 canon_reloc_count (asect) += relent - relents;
148 elf64_sparc_slurp_reloc_table (bfd *abfd, asection *asect,
151 struct bfd_elf_section_data * const d = elf_section_data (asect);
156 if (asect->relocation != NULL)
161 if ((asect->flags & SEC_RELOC) == 0
162 || asect->reloc_count == 0)
168 BFD_ASSERT (asect->rel_filepos == rel_hdr->sh_offset
169 || (rel_hdr2 && asect->rel_filepos == rel_hdr2->sh_offset));
177 if (asect->size == 0)
181 asect->reloc_count = NUM_SHDR_ENTRIES (rel_hdr);
185 amt = asect->reloc_count;
187 asect->relocation = (arelent *) bfd_alloc (abfd, amt);
188 if (asect->relocation == NULL)
193 canon_reloc_count (asect) = 0;
195 if (!elf64_sparc_slurp_one_reloc_table (abfd, asect, rel_hdr, symbols,
200 && !elf64_sparc_slurp_one_reloc_table (abfd, asect, rel_hdr2, symbols,