Lines Matching refs:sec
1929 mips_elf64_get_reloc_upper_bound (bfd *abfd ATTRIBUTE_UNUSED, asection *sec)
1931 return (sec->reloc_count * 3 + 1) * sizeof (arelent *);
2257 mips_elf64_write_relocs (bfd *abfd, asection *sec, void *data)
2268 if ((sec->flags & SEC_RELOC) == 0)
2275 if (sec->reloc_count == 0)
2281 for (idx = 0; idx < sec->reloc_count; idx++)
2288 addr = sec->orelocation[idx]->address;
2293 if (idx + 1 >= sec->reloc_count)
2295 r = sec->orelocation[idx + 1];
2307 rel_hdr = &elf_section_data (sec)->rel_hdr;
2312 mips_elf64_write_rel (abfd, sec, rel_hdr, &count, data);
2314 mips_elf64_write_rela (abfd, sec, rel_hdr, &count, data);
2320 mips_elf64_write_rel (bfd *abfd, asection *sec,
2339 for (idx = 0; idx < sec->reloc_count; idx++, ext_rel++)
2347 ptr = sec->orelocation[idx];
2355 int_rel.r_offset = ptr->address + sec->vma;
2390 if (idx + 1 >= sec->reloc_count)
2392 r = sec->orelocation[idx + 1];
2416 mips_elf64_write_rela (bfd *abfd, asection *sec,
2435 for (idx = 0; idx < sec->reloc_count; idx++, ext_rela++)
2443 ptr = sec->orelocation[idx];
2451 int_rela.r_offset = ptr->address + sec->vma;
2487 if (idx + 1 >= sec->reloc_count)
2489 r = sec->orelocation[idx + 1];