/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | reloc16.c | 152 long reloc_count; local 166 reloc_count = 169 if (reloc_count < 0) 190 if (reloc_count > 0) 197 amt = reloc_count + 1; 222 for (j = i + 1; j <= reloc_count; j++) 229 shrink = shrinks[reloc_count]; 258 long reloc_count; local 280 reloc_count = bfd_canonicalize_reloc (input_bfd, 284 if (reloc_count < [all...] |
H A D | elfxx-sparc.h | 26 unsigned int do_relax, reloc_count; member in struct:_bfd_sparc_elf_section_data 32 ((struct _bfd_sparc_elf_section_data *) elf_section_data (sec))->reloc_count
|
H A D | mipsbsd.c | 364 for (count = 0; count < section->reloc_count; count++) 370 return section->reloc_count; 373 if (tblptr && section->reloc_count) 375 for (count = 0; count++ < section->reloc_count;) 378 return section->reloc_count; 386 for (count = 0; count++ < section->reloc_count;) 394 return section->reloc_count;
|
H A D | cofflink.c | 697 o->reloc_count = 0; 718 o->reloc_count += sec->reloc_count; 726 if (sec->reloc_count > max_reloc_count) 727 max_reloc_count = sec->reloc_count; 732 ++o->reloc_count; 734 if (o->reloc_count == 0) 740 rel_filepos += o->reloc_count * relsz; 743 if (obj_pe (abfd) && o->reloc_count >= 0xffff) 797 if (o->reloc_count ! [all...] |
H A D | elf64-sparc.c | 39 return (sec->reloc_count * 2 + 1) * sizeof (arelent *); 162 || asect->reloc_count == 0) 181 asect->reloc_count = NUM_SHDR_ENTRIES (rel_hdr); 185 amt = asect->reloc_count; 297 reloc_count field to zero to inhibit writing them here. Also, 300 if (sec->reloc_count == 0) 307 for (idx = 0; idx < sec->reloc_count; idx++) 315 && idx < sec->reloc_count - 1) 348 /* orelocation has the data, reloc_count has the count... */ 352 for (idx = 0; idx < sec->reloc_count; id [all...] |
H A D | elf64-mips.c | 2335 return (sec->reloc_count * 3 + 1) * sizeof (arelent *); 2361 for (i = 0; i < section->reloc_count * 3; i++) 2366 return section->reloc_count * 3; 2412 reloc_count to the number of external relocations, because a lot of 2418 bfd_size_type reloc_count, 2450 i < reloc_count; 2566 asect->reloc_count += (relent - relents) / 3; 2582 internal relocs per external reloc and resetting reloc_count to 2592 bfd_size_type reloc_count; 2603 || asect->reloc_count 2411 mips_elf64_slurp_one_reloc_table(bfd *abfd, asection *asect, Elf_Internal_Shdr *rel_hdr, bfd_size_type reloc_count, arelent *relents, asymbol **symbols, bfd_boolean dynamic) argument 2587 bfd_size_type reloc_count; local [all...] |
H A D | bout.c | 270 unsigned int count = section->reloc_count; 409 exec_hdr (abfd)->a_trsize = (obj_textsec (abfd)->reloc_count) * 8; 410 exec_hdr (abfd)->a_drsize = (obj_datasec (abfd)->reloc_count) * 8; 878 asect->reloc_count = count; 898 for (count = 0; count < section->reloc_count; count++) 911 for (count = 0; count++ < section->reloc_count;) 917 return section->reloc_count; 930 return sizeof (arelent *) * (asect->reloc_count + 1); 1159 long reloc_count; 1166 reloc_count 1156 long reloc_count; local 1218 long reloc_count; local [all...] |
H A D | coff-ppc.c | 1024 relend = rel + input_section->reloc_count; 1636 if (sec->reloc_count == 0) 1646 for (rel = i; rel < i + sec->reloc_count; ++rel) 2135 o->reloc_count = 0; 2157 o->reloc_count += sec->reloc_count; 2165 if (sec->reloc_count > max_reloc_count) 2166 max_reloc_count = sec->reloc_count; 2171 ++o->reloc_count; 2173 if (o->reloc_count [all...] |
H A D | xcofflink.c | 515 && enclosing->reloc_count > 0) 536 sec->reloc_count * sizeof (struct internal_reloc)); 1041 amt = o->reloc_count; 1316 amt = enclosing->reloc_count; 1322 if (relindx < enclosing->reloc_count 1457 amt = enclosing->reloc_count; 1466 while (relindx < enclosing->reloc_count 1473 ++csect->reloc_count; 1840 for (i = 0; i < o->reloc_count; i++, rel++, rel_csect++) 1907 /* Reset SEC_RELOC and the reloc_count, sinc [all...] |
H A D | reloc.c | 5197 long reloc_count; local 5212 reloc_count = bfd_canonicalize_reloc (input_bfd, 5216 if (reloc_count < 0) 5219 if (reloc_count > 0) 5256 os->orelocation[os->reloc_count] = *parent; 5257 os->reloc_count++;
|
H A D | elfcode.h | 941 reloc_count field to zero to inhibit writing them here. Also, 944 if (sec->reloc_count == 0) 947 /* If we have opened an existing file for update, reloc_count may be 955 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; 986 /* orelocation has the data, reloc_count has the count... */ 991 for (idx = 0; idx < sec->reloc_count; idx++, dst_rela += extsize) 1354 bfd_size_type reloc_count, 1388 i < reloc_count; 1457 bfd_size_type reloc_count; 1468 || asect->reloc_count 1348 elf_slurp_reloc_table_from_section(bfd *abfd, asection *asect, Elf_Internal_Shdr *rel_hdr, bfd_size_type reloc_count, arelent *relents, asymbol **symbols, bfd_boolean dynamic) argument 1454 bfd_size_type reloc_count; local [all...] |
H A D | coffcode.h | 1700 section->reloc_count = hdr->s_nreloc = n.r_vaddr - 1; 1731 real_sec->reloc_count = hdr->s_paddr; 2454 amt = s->reloc_count; 2457 if (p == NULL && s->reloc_count > 0) 2460 qsort (p, s->reloc_count, sizeof (arelent *), compare_arelent_ptr); 2468 if (obj_pe (abfd) && s->reloc_count >= 0xffff) 2475 n.r_vaddr = s->reloc_count + 1; 2483 for (i = 0; i < s->reloc_count; i++) 3028 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) 3377 unsigned long reloc_size = 0, reloc_count 3376 unsigned long reloc_size = 0, reloc_count = 0; local [all...] |
H A D | ecoff.c | 68 /* relocation, orelocation, reloc_count, filepos, rel_filepos, */ 1566 || section->reloc_count == 0 1573 amt = section->reloc_count; 1578 amt = external_reloc_size * section->reloc_count; 1587 for (i = 0, rptr = internal_relocs; i < section->reloc_count; i++, rptr++) 1676 count < section->reloc_count; 1689 for (count = 0; count < section->reloc_count; count++) 1695 return section->reloc_count; 2108 if (current->reloc_count == 0) 2115 relsize = current->reloc_count * external_reloc_siz [all...] |
H A D | syms.c | 971 long reloc_size, reloc_count; local 1025 reloc_count = bfd_canonicalize_reloc (abfd, info->stabsec, reloc_vector, 1027 if (reloc_count < 0) 1033 if (reloc_count > 0)
|
H A D | linker.c | 2050 o->reloc_count = 0; 2055 ++o->reloc_count; 2063 long reloc_count; 2075 reloc_count = bfd_canonicalize_reloc (input_bfd, 2080 if (reloc_count < 0) 2082 BFD_ASSERT ((unsigned long) reloc_count 2083 == input_section->reloc_count); 2084 o->reloc_count += reloc_count; 2087 if (o->reloc_count > 2057 long reloc_count; local [all...] |
H A D | sunos.c | 2067 /* We use the reloc_count field to keep track of how many of the 2069 s->reloc_count = 0; 2138 bfd_put_32 (output_bfd, SPARC_PLT_ENTRY_WORD2 + s->reloc_count, 2161 bfd_put_16 (output_bfd, (bfd_vma) s->reloc_count, p + 6); 2174 BFD_ASSERT (s->reloc_count * obj_reloc_entry_size (dynobj) 2176 p = s->contents + s->reloc_count * obj_reloc_entry_size (output_bfd); 2227 ++s->reloc_count; 2479 BFD_ASSERT (s->reloc_count * obj_reloc_entry_size (dynobj) 2483 + s->reloc_count * obj_reloc_entry_size (dynobj)); 2569 ++s->reloc_count; [all...] |
H A D | elf32-cr16.c | 697 irelend = irel + sec->reloc_count; 813 relend = relocs + input_section->reloc_count; 948 && input_section->reloc_count > 0) 1050 || sec->reloc_count == 0 1063 irelend = internal_relocs + sec->reloc_count;
|
H A D | elf64-ppc.c | 2924 relcount = (opd->flags & SEC_RELOC) ? opd->reloc_count : 0; 4527 rel_end = relocs + sec->reloc_count; 5054 if (opd_sec->reloc_count == 0) 5086 hi = lo + opd_sec->reloc_count - 1; /* ignore last reloc */ 5364 relend = relocs + sec->reloc_count; 6483 if ((sec->flags & SEC_RELOC) == 0 || sec->reloc_count == 0) 6501 relend = relstart + sec->reloc_count; 6772 sec->reloc_count = write_rel - relstart; 6782 = sec->reloc_count * elf_section_data (sec)->rel_hdr.sh_entsize; 6935 relend = relstart + sec->reloc_count; [all...] |
H A D | aout-target.h | 97 obj_textsec (abfd)->reloc_count = 99 obj_datasec (abfd)->reloc_count =
|
H A D | coff-alpha.c | 790 long reloc_count; 808 reloc_count = bfd_canonicalize_reloc (input_bfd, input_section, 810 if (reloc_count < 0) 812 if (reloc_count == 0) 1148 os->orelocation[os->reloc_count] = rel; 1149 os->reloc_count++; 1530 ext_rel_end = ext_rel + input_section->reloc_count; 785 long reloc_count; local
|
H A D | elfxx-mips.c | 1143 h->fn_stub->reloc_count = 0; 1155 h->call_stub->reloc_count = 0; 1167 h->call_fp_stub->reloc_count = 0; 2230 + sreloc->reloc_count * sizeof (Elf64_Mips_External_Rel))); 2236 + sreloc->reloc_count * sizeof (Elf32_External_Rel))); 2237 ++sreloc->reloc_count; 2733 loc = s->contents + (s->reloc_count++ * sizeof (Elf32_External_Rela)); 4280 loc = s->contents + s->reloc_count++ * sizeof (Elf32_External_Rela); 4762 ++s->reloc_count; 4795 BFD_ASSERT (sreloc->reloc_count * MIPS_ELF_REL_SIZ 10009 long reloc_count; local [all...] |
H A D | elflink.c | 2160 if (o->reloc_count == 0) 2169 size = o->reloc_count; 2232 bfd_size_type reloc_count; 2237 reloc_count = elf_section_data (o)->rel_count; 2239 reloc_count = elf_section_data (o)->rel_count2; 2241 num_rel_hashes = o->reloc_count; 2242 if (num_rel_hashes < reloc_count) 2243 num_rel_hashes = reloc_count; 2246 rel_hdr->sh_size = rel_hdr->sh_entsize * reloc_count; 4713 || o->reloc_count 2226 bfd_size_type reloc_count; local 9449 unsigned int reloc_count = 0; local [all...] |
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | rescoff.c | 402 unsigned int reloc_count; 503 cwi.reloc_count = 0; 541 bfd_set_reloc (abfd, sec, cwi.relocs, cwi.reloc_count); 723 (cwi->reloc_count + 2) * sizeof (arelent *)); 724 cwi->relocs[cwi->reloc_count] = r; 725 cwi->relocs[cwi->reloc_count + 1] = NULL; 726 ++cwi->reloc_count; 400 unsigned int reloc_count; member in struct:coff_write_info
|
H A D | coffgrok.c | 163 head->sections[i].nrelocs = section->reloc_count; 165 (struct coff_reloc *) (xcalloc (section->reloc_count, 185 for (j = 0; j < section->reloc_count; j++)
|
/freebsd-11-stable/contrib/binutils/ld/ |
H A D | ldwrite.c | 375 n->reloc_count = 0; 469 thisrelocs = sec->reloc_count;
|