/openbsd/gnu/usr.bin/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]; 257 long reloc_count; local 281 reloc_count = bfd_canonicalize_reloc (input_bfd, 285 if (reloc_count < 0) [all …]
|
H A D | mipsbsd.c | 355 for (count = 0; count < section->reloc_count; count++) 361 return section->reloc_count; 364 if (tblptr && section->reloc_count) 366 for (count = 0; count++ < section->reloc_count;) 369 return section->reloc_count; 377 for (count = 0; count++ < section->reloc_count;) 385 return section->reloc_count;
|
H A D | riscix.c | 110 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \ 112 execp->a_drsize = ((obj_datasec (abfd)->reloc_count) * \ 408 unsigned int count = section->reloc_count; 458 for (count = 0; count < section->reloc_count; count++) { 463 return section->reloc_count; 465 if (tblptr && section->reloc_count) { 466 for (count = 0; count++ < section->reloc_count;) 469 return section->reloc_count; 477 for (count = 0; count++ < section->reloc_count;) 486 return section->reloc_count;
|
H A D | cofflink.c | 694 o->reloc_count = 0; in _bfd_coff_final_link() 715 o->reloc_count += sec->reloc_count; in _bfd_coff_final_link() 727 ++o->reloc_count; in _bfd_coff_final_link() 729 if (o->reloc_count == 0) in _bfd_coff_final_link() 792 if (o->reloc_count != 0) in _bfd_coff_final_link() 808 amt = o->reloc_count; in _bfd_coff_final_link() 811 amt = o->reloc_count; in _bfd_coff_final_link() 824 o->reloc_count = 0; in _bfd_coff_final_link() 1021 if (o->reloc_count == 0) in _bfd_coff_final_link() 2426 o->output_section->reloc_count += o->reloc_count; in _bfd_coff_link_input_bfd() [all …]
|
H A D | elf64-mips.c | 1957 return section->reloc_count * 3; in mips_elf64_canonicalize_reloc() 2009 bfd_size_type reloc_count, in mips_elf64_slurp_one_reloc_table() argument 2041 i < reloc_count; in mips_elf64_slurp_one_reloc_table() 2183 bfd_size_type reloc_count; in mips_elf64_slurp_reloc_table() local 2194 || asect->reloc_count == 0) in mips_elf64_slurp_reloc_table() 2202 BFD_ASSERT (asect->reloc_count == reloc_count + reloc_count2); in mips_elf64_slurp_reloc_table() 2229 asect->reloc_count = 0; in mips_elf64_slurp_reloc_table() 2232 rel_hdr, reloc_count, in mips_elf64_slurp_reloc_table() 2270 if (sec->reloc_count == 0) in mips_elf64_write_relocs() 2288 if (idx + 1 >= sec->reloc_count) in mips_elf64_write_relocs() [all …]
|
H A D | i386lynx.c | 49 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \ 51 execp->a_drsize = ((obj_datasec (abfd)->reloc_count) * \ 486 asect->reloc_count = count; 503 unsigned int count = section->reloc_count; 560 for (count = 0; count < section->reloc_count; count++) 570 for (count = 0; count++ < section->reloc_count;) 577 return section->reloc_count;
|
H A D | bout.c | 772 asect->reloc_count = count; 787 unsigned int count = section->reloc_count; 947 return section->reloc_count; 1250 long reloc_count; local 1257 reloc_count = 1260 if (reloc_count < 0) 1262 if (reloc_count > 0) 1315 long reloc_count; local 1340 reloc_count = bfd_canonicalize_reloc (input_bfd, 1344 if (reloc_count < 0) [all …]
|
H A D | coff-ppc.c | 1719 if (sec->reloc_count == 0) 2307 o->reloc_count = 0; 2329 o->reloc_count += sec->reloc_count; 2341 ++o->reloc_count; 2343 if (o->reloc_count == 0) 2391 if (o->reloc_count != 0) 2407 amt = o->reloc_count; 2411 amt = o->reloc_count; 2425 o->reloc_count = 0; 2622 if (o->reloc_count == 0) [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/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 < 0) [all …]
|
H A D | riscix.c | 121 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \ 123 execp->a_drsize = ((obj_datasec (abfd)->reloc_count) * \ 380 unsigned int count = section->reloc_count; in riscix_squirt_out_relocs() 429 for (count = 0; count < section->reloc_count; count++) in MY() 435 return section->reloc_count; in MY() 438 if (tblptr && section->reloc_count) in MY() 440 for (count = 0; count++ < section->reloc_count;) in MY() 443 return section->reloc_count; in MY() 451 for (count = 0; count++ < section->reloc_count;) in MY() 460 return section->reloc_count; in MY()
|
H A D | mipsbsd.c | 351 for (count = 0; count < section->reloc_count; count++) 357 return section->reloc_count; 360 if (tblptr && section->reloc_count) 362 for (count = 0; count++ < section->reloc_count;) 365 return section->reloc_count; 373 for (count = 0; count++ < section->reloc_count;) 381 return section->reloc_count;
|
H A D | cofflink.c | 696 o->reloc_count = 0; in _bfd_coff_final_link() 717 o->reloc_count += sec->reloc_count; in _bfd_coff_final_link() 731 ++o->reloc_count; in _bfd_coff_final_link() 733 if (o->reloc_count == 0) in _bfd_coff_final_link() 796 if (o->reloc_count != 0) in _bfd_coff_final_link() 812 amt = o->reloc_count; in _bfd_coff_final_link() 815 amt = o->reloc_count; in _bfd_coff_final_link() 828 o->reloc_count = 0; in _bfd_coff_final_link() 1025 if (o->reloc_count == 0) in _bfd_coff_final_link() 2427 o->output_section->reloc_count += o->reloc_count; in _bfd_coff_link_input_bfd() [all …]
|
H A D | bout.c | 270 unsigned int count = section->reloc_count; in b_out_squirt_out_relocs() 862 asect->reloc_count = count; in b_out_slurp_reloc_table() 901 return section->reloc_count; in b_out_canonicalize_reloc() 1140 long reloc_count; in b_out_bfd_relax_section() local 1147 reloc_count = in b_out_bfd_relax_section() 1150 if (reloc_count < 0) in b_out_bfd_relax_section() 1152 if (reloc_count > 0) in b_out_bfd_relax_section() 1202 long reloc_count; in b_out_bfd_get_relocated_section_contents() local 1225 reloc_count = bfd_canonicalize_reloc (input_bfd, in b_out_bfd_get_relocated_section_contents() 1229 if (reloc_count < 0) in b_out_bfd_get_relocated_section_contents() [all …]
|
H A D | elf64-mips.c | 2338 return section->reloc_count * 3; in mips_elf64_canonicalize_reloc() 2390 bfd_size_type reloc_count, in mips_elf64_slurp_one_reloc_table() argument 2422 i < reloc_count; in mips_elf64_slurp_one_reloc_table() 2564 bfd_size_type reloc_count; in mips_elf64_slurp_reloc_table() local 2575 || asect->reloc_count == 0) in mips_elf64_slurp_reloc_table() 2583 BFD_ASSERT (asect->reloc_count == reloc_count + reloc_count2); in mips_elf64_slurp_reloc_table() 2610 asect->reloc_count = 0; in mips_elf64_slurp_reloc_table() 2613 rel_hdr, reloc_count, in mips_elf64_slurp_reloc_table() 2651 if (sec->reloc_count == 0) in mips_elf64_write_relocs() 2669 if (idx + 1 >= sec->reloc_count) in mips_elf64_write_relocs() [all …]
|
H A D | i386lynx.c | 49 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \ 51 execp->a_drsize = ((obj_datasec (abfd)->reloc_count) * \ 486 asect->reloc_count = count; 503 unsigned int count = section->reloc_count; 560 for (count = 0; count < section->reloc_count; count++) 570 for (count = 0; count++ < section->reloc_count;) 577 return section->reloc_count;
|
H A D | elf64-sparc.c | 39 return (sec->reloc_count * 2 + 1) * sizeof (arelent *); in elf64_sparc_get_reloc_upper_bound() 162 || asect->reloc_count == 0) in elf64_sparc_slurp_reloc_table() 181 asect->reloc_count = NUM_SHDR_ENTRIES (rel_hdr); in elf64_sparc_slurp_reloc_table() 185 amt = asect->reloc_count; in elf64_sparc_slurp_reloc_table() 300 if (sec->reloc_count == 0) in elf64_sparc_write_relocs() 307 for (idx = 0; idx < sec->reloc_count; idx++) in elf64_sparc_write_relocs() 315 && idx < sec->reloc_count - 1) in elf64_sparc_write_relocs() 352 for (idx = 0; idx < sec->reloc_count; idx++) in elf64_sparc_write_relocs() 386 && idx < sec->reloc_count - 1) in elf64_sparc_write_relocs()
|
H A D | coff-ppc.c | 1630 if (sec->reloc_count == 0) 2109 o->reloc_count = 0; 2131 o->reloc_count += sec->reloc_count; 2145 ++o->reloc_count; 2147 if (o->reloc_count == 0) 2195 if (o->reloc_count != 0) 2211 amt = o->reloc_count; 2215 amt = o->reloc_count; 2229 o->reloc_count = 0; 2426 if (o->reloc_count == 0) [all …]
|
H A D | xcofflink.c | 1037 amt = o->reloc_count; in xcoff_link_add_symbols() 1905 o->reloc_count = 0; in xcoff_link_add_symbols() 2398 o->reloc_count = 0; in xcoff_sweep() 2859 sec->reloc_count += 2; in xcoff_build_ldsyms() 4548 o->output_section->reloc_count += o->reloc_count; in xcoff_link_input_bfd() 5382 o->reloc_count = 0; in _bfd_xcoff_bfd_final_link() 5402 o->reloc_count += sec->reloc_count; in _bfd_xcoff_bfd_final_link() 5421 ++o->reloc_count; in _bfd_xcoff_bfd_final_link() 5581 amt = o->reloc_count; in _bfd_xcoff_bfd_final_link() 5585 amt = o->reloc_count; in _bfd_xcoff_bfd_final_link() [all …]
|
H A D | coffcode.h | 1726 real_sec->reloc_count = hdr->s_paddr; in coff_set_alignment_hook() 2449 amt = s->reloc_count; in coff_write_relocs() 2452 if (p == NULL && s->reloc_count > 0) in coff_write_relocs() 2470 n.r_vaddr = s->reloc_count + 1; in coff_write_relocs() 3402 reloc_count ++; in coff_write_object_contents() 3404 reloc_count += current->reloc_count; in coff_write_object_contents() 3425 if (current->reloc_count) in coff_write_object_contents() 3538 if (current->reloc_count != 0) in coff_write_object_contents() 3708 scnhdr.s_paddr = current->reloc_count; in coff_write_object_contents() 4839 if (asect->reloc_count == 0) in coff_slurp_reloc_table() [all …]
|
H A D | elfxx-sparc.h | 26 unsigned int do_relax, reloc_count; member 32 ((struct _bfd_sparc_elf_section_data *) elf_section_data (sec))->reloc_count
|
/openbsd/gnu/usr.bin/binutils/binutils/ |
H A D | nlmconv.c | 1257 long reloc_count; in copy_sections() local 1261 if (reloc_count < 0) in copy_sections() 1272 total_count = reloc_count + outsec->reloc_count; in copy_sections() 1279 reloc_count = total_count; in copy_sections() 1369 long reloc_count; in default_mangle_relocs() local 1408 long reloc_count, i; in i386_mangle_relocs() local 1411 reloc_count = *reloc_count_ptr; in i386_mangle_relocs() 1413 for (i = 0; i < reloc_count; i++) in i386_mangle_relocs() 1873 long reloc_count; in powerpc_mangle_relocs() local 1889 reloc_count = *reloc_count_ptr; in powerpc_mangle_relocs() [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | nlmconv.c | 1256 long reloc_count; in copy_sections() local 1260 if (reloc_count < 0) in copy_sections() 1271 total_count = reloc_count + outsec->reloc_count; in copy_sections() 1278 reloc_count = total_count; in copy_sections() 1368 long reloc_count; in default_mangle_relocs() local 1407 long reloc_count, i; in i386_mangle_relocs() local 1410 reloc_count = *reloc_count_ptr; in i386_mangle_relocs() 1412 for (i = 0; i < reloc_count; i++) in i386_mangle_relocs() 1872 long reloc_count; in powerpc_mangle_relocs() local 1887 reloc_count = *reloc_count_ptr; in powerpc_mangle_relocs() [all …]
|
/openbsd/gnu/usr.bin/binutils/ld/emultempl/ |
H A D | m68kelf.em | 70 /* Note that we assume that the reloc_count field has already 77 if (datasec != NULL && datasec->reloc_count > 0) 90 datasec->reloc_count * 12)) 111 && sec->reloc_count != 0) 142 if (datasec == NULL || datasec->reloc_count == 0)
|
H A D | mipself.em | 75 /* Note that we assume that the reloc_count field has already 83 if (datasec != NULL && datasec->reloc_count > 0) 97 datasec->reloc_count 120 && sec->reloc_count != 0) 148 if (datasec == NULL || datasec->reloc_count == 0)
|
/openbsd/gnu/usr.bin/binutils-2.17/ld/emultempl/ |
H A D | m68kelf.em | 70 /* Note that we assume that the reloc_count field has already 77 if (datasec != NULL && datasec->reloc_count > 0) 90 datasec->reloc_count * 12)) 111 && sec->reloc_count != 0) 142 if (datasec == NULL || datasec->reloc_count == 0)
|